Replies: 7 comments 16 replies
-
Same here. You can always still use Babel (this will disable SWC) with Next 12 while we figure this out. |
Beta Was this translation helpful? Give feedback.
-
I opened a new discussion about disabling the Babel plugin altogether for Web: #2620 |
Beta Was this translation helpful? Give feedback.
-
If someone who is very familiar with Reanimated could give me a sense of how the babel plugin works, I can try to relay this to the Next.js team to see if they can port it. |
Beta Was this translation helpful? Give feedback.
-
Looking for a Rustacean to work on this: https://twitter.com/axeldelafosse/status/1493992830175481859 |
Beta Was this translation helpful? Give feedback.
-
Interesting thread! If someone wants to port reanimated plugin to SWC I can help with pleasure. For web is required just a part of the reanimated plugin. |
Beta Was this translation helpful? Give feedback.
-
Would be great to see this; wondering how well it would pair with https://github.com/callstack/repack/ for Android/iOS |
Beta Was this translation helpful? Give feedback.
-
Was there any conclusion here with respect to whether or not this is going to happen? I saw this but there doesn't seem to be any activity around it #3341 Would be great to be able to use SWC and drop babel, but I don't have the expertise to contribute here 😞 |
Beta Was this translation helpful? Give feedback.
-
The new version of Next.js uses SWC instead of Babel. This results in way faster bundle and startup times.
The one reason I can't use this is because I need the Reanimated 2 babel plugin. Is there any shot someone would know how to port this to SWC? I have no idea how either babel or SWC work, but I would love to get to take advantage of Next.js 12's innovations...
For context, I just gave a talk about Next.js + React Native: https://twitter.com/FernandoTheRojo/status/1453712622222729217?s=20
Relevant Next.js thread & comment: vercel/next.js#30174 (comment)
Any guidance would be great, thanks!
Update
I opened a new discussion about disabling the Babel plugin altogether for Web: #2620
Beta Was this translation helpful? Give feedback.
All reactions