A Babel preset that enables stage-0 (latest experimental) JavaScript features in React Native projects. Version 1.0.1 is the latest stable release; the project is in maintenance mode. It wraps babel-preset-react-native with stage-0 transformations, including optional legacy decorator support via a sub-preset. Unlike combining babel-preset-react-native and babel-preset-stage-0 separately, this preset ensures compatibility and avoids common conflicts and errors in the RN bundler. No updates expected; users should consider newer alternatives like babel-preset-react-native with explicit plugin selection.
npm install babel-preset-react-native-stage-0Verified import paths — ran on the pinned version, not inferred.
Configures Babel to use the stage-0 preset for React Native, installation, cache clearing, and an example of the exponentiation operator.
Use '@babel/preset-env' and '@babel/preset-react' with individual stage-0 plugins, or babel-preset-react-native with explicit plugin lists.
Remove 'babel-preset-stage-0' from presets; this preset already includes stage-0 features.
Use 'react-native-stage-0' in the presets array.
Run 'watchman watch-del-all' and then start packager with '--reset-cache'.
Use '@babel/plugin-proposal-decorators' with the appropriate version.
Run 'npm install babel-preset-react-native-stage-0 --save' and use '"react-native-stage-0"' in presets.
Add 'transform-regenerator' plugin or use babel-polyfill.
Clear packager cache: 'watchman watch-del-all' then 'react-native start --reset-cache'.
Ensure the preset is referenced only in .babelrc or babel config, not in other tools.