<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: takundanashebmuchena-pixel</title>
    <description>The latest articles on DEV Community by takundanashebmuchena-pixel (@takundanashebmuchenapixel).</description>
    <link>https://dev.to/takundanashebmuchenapixel</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3972666%2F446296cc-429d-4f2b-8a69-169bf06e4557.png</url>
      <title>DEV Community: takundanashebmuchena-pixel</title>
      <link>https://dev.to/takundanashebmuchenapixel</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/takundanashebmuchenapixel"/>
    <language>en</language>
    <item>
      <title>Fix: babel-plugin-transform-flow-strip-types broken in Babel 7 and 8</title>
      <dc:creator>takundanashebmuchena-pixel</dc:creator>
      <pubDate>Sun, 07 Jun 2026 15:24:45 +0000</pubDate>
      <link>https://dev.to/takundanashebmuchenapixel/fix-babel-plugin-transform-flow-strip-types-broken-in-babel-7-and-8-3i9j</link>
      <guid>https://dev.to/takundanashebmuchenapixel/fix-babel-plugin-transform-flow-strip-types-broken-in-babel-7-and-8-3i9j</guid>
      <description>&lt;p&gt;The original babel-plugin-transform-flow-strip-types hasn't been updated in 9 years and breaks silently in Babel 7 and 8 environments.&lt;/p&gt;

&lt;h2&gt;
  
  
  The fix
&lt;/h2&gt;

&lt;p&gt;I published a maintained fork that works as a drop-in replacement:&lt;/p&gt;

&lt;p&gt;npm install --save-dev babel-plugin-transform-flow-strip-types-maintained&lt;/p&gt;

&lt;p&gt;Then update your .babelrc:&lt;/p&gt;

&lt;p&gt;{&lt;br&gt;
  "plugins": ["transform-flow-strip-types-maintained"]&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;That's it. No other changes needed.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's fixed
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Babel 7 and 8 peer dependency conflicts&lt;/li&gt;
&lt;li&gt;Missing syntax plugin declaration&lt;/li&gt;
&lt;li&gt;Deprecated visitor patterns&lt;/li&gt;
&lt;li&gt;allowDeclareFields support&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Automated migration
&lt;/h2&gt;

&lt;p&gt;If you want to update your entire project automatically:&lt;/p&gt;

&lt;p&gt;npx flow-strip-migrate .&lt;/p&gt;

&lt;p&gt;This updates your package.json and babel config in one command.&lt;/p&gt;

&lt;p&gt;More info: &lt;a href="https://flowstrip.netlify.app" rel="noopener noreferrer"&gt;https://flowstrip.netlify.app&lt;/a&gt;&lt;br&gt;
npm: &lt;a href="https://www.npmjs.com/package/babel-plugin-transform-flow-strip-types-maintained" rel="noopener noreferrer"&gt;https://www.npmjs.com/package/babel-plugin-transform-flow-strip-types-maintained&lt;/a&gt;&lt;/p&gt;

</description>
      <category>babel</category>
      <category>javascript</category>
      <category>webdev</category>
      <category>node</category>
    </item>
    <item>
      <title>Fix: babel-plugin-transform-flow-strip-types broken in Babel 7 and 8</title>
      <dc:creator>takundanashebmuchena-pixel</dc:creator>
      <pubDate>Sun, 07 Jun 2026 15:03:04 +0000</pubDate>
      <link>https://dev.to/takundanashebmuchenapixel/fix-babel-plugin-transform-flow-strip-types-broken-in-babel-7-and-8-493l</link>
      <guid>https://dev.to/takundanashebmuchenapixel/fix-babel-plugin-transform-flow-strip-types-broken-in-babel-7-and-8-493l</guid>
      <description>&lt;p&gt;The original babel-plugin-transform-flow-strip-types hasn't been updated in 9 years and breaks silently in Babel 7 and 8 environments.&lt;/p&gt;

&lt;h2&gt;
  
  
  The fix
&lt;/h2&gt;

&lt;p&gt;I published a maintained fork that works as a drop-in replacement:&lt;/p&gt;

&lt;p&gt;npm install --save-dev babel-plugin-transform-flow-strip-types-maintained&lt;/p&gt;

&lt;p&gt;Then update your .babelrc:&lt;/p&gt;

&lt;p&gt;{&lt;br&gt;
  "plugins": ["transform-flow-strip-types-maintained"]&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;That's it. No other changes needed.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's fixed
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Babel 7 and 8 peer dependency conflicts&lt;/li&gt;
&lt;li&gt;Missing syntax plugin declaration&lt;/li&gt;
&lt;li&gt;Deprecated visitor patterns&lt;/li&gt;
&lt;li&gt;allowDeclareFields support&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Automated migration
&lt;/h2&gt;

&lt;p&gt;If you want to update your entire project automatically:&lt;/p&gt;

&lt;p&gt;npx flow-strip-migrate .&lt;/p&gt;

&lt;p&gt;This updates your package.json and babel config in one command.&lt;/p&gt;

&lt;p&gt;More info: &lt;a href="https://flowstrip.netlify.app" rel="noopener noreferrer"&gt;https://flowstrip.netlify.app&lt;/a&gt;&lt;br&gt;
npm: &lt;a href="https://www.npmjs.com/package/babel-plugin-transform-flow-strip-types-maintained" rel="noopener noreferrer"&gt;https://www.npmjs.com/package/babel-plugin-transform-flow-strip-types-maintained&lt;/a&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>showdev</category>
      <category>tooling</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
