babel-preset-react-native-stage-0 icon indicating copy to clipboard operation
babel-preset-react-native-stage-0 copied to clipboard

Support React 0.56.0?

Open ysdanielkim opened this issue 6 years ago • 13 comments

React 0.56.0 seems to break this.

ysdanielkim avatar Jul 13 '18 15:07 ysdanielkim

+1

joncursi avatar Jul 14 '18 15:07 joncursi

It breaks with the new React Native 0.56.0. Needs fixing. +1

praneybehl avatar Jul 15 '18 06:07 praneybehl

+1

alizafardev avatar Jul 16 '18 10:07 alizafardev

+1

dhruvdangi avatar Jul 21 '18 14:07 dhruvdangi

+1

murrayee avatar Jul 30 '18 04:07 murrayee

+1

andrew-luchkevych avatar Aug 15 '18 13:08 andrew-luchkevych

+1

radreamer avatar Aug 22 '18 09:08 radreamer

+1

IgorBelyayev avatar Aug 25 '18 02:08 IgorBelyayev

+1

mmoufakkir1 avatar Aug 26 '18 04:08 mmoufakkir1

+1

NightFarmer avatar Sep 06 '18 07:09 NightFarmer

This is the error that I'm getting - Failed to load bundle(http://localhost:8081/index.ios.bundle?platform=ios&dev=true&minify=false) with error:( .../index.ios.js: Plugin/Preset files are not allowed to export objects, only functions. In .../node_modules/babel-preset-react-native-stage-0/decorator-support.js (null))

Which I'm guessing is a result of ejecting from expo. Is this the same issue others are getting? Or is this unrelated?

TylerNoblett avatar Sep 07 '18 17:09 TylerNoblett

I fixed this issue by removing .babelrc and babel-preset-react-native-stage-0, because default react native babel configuration fits to my project, but if you wish custom babel config you should look at babel preset for RN from Facebook

radreamer avatar Sep 11 '18 12:09 radreamer

Manually install both babel-preset-react-native and babel-preset-stage-0. Then use babel-upgrade tool to resolve the corresponding plugins for babel 7.

hahtml avatar Sep 14 '18 20:09 hahtml