fagerbua

Results 4 comments of fagerbua

Unless your React Native project uses experimental Javascript, you can resolve this problem by installing `babel-preset-react-native@5` and replacing "babel-preset-react-native-stage-0/decorator-support" with "babel-preset-react-native" in the project's .babelrc file.

@lorenc-tomasz Adding the plugins you need directly to your .babelrc file ought to work, as long as they're Babel 7 compatible. See the [list of transformation plugins in Babel 7](https://babeljs.io/docs/en/next/plugins#transform-plugins).

You don't need to use this library to get simple persistence with Recoil and React Native. Just adapt the `localForage` example from the [Recoil documentation](https://recoiljs.org/docs/guides/atom-effects/#asynchronous-storage-persistence), and you get (with TypeScript):...

👍 for making this configurable. We use Rush for managing a monorepo with many root folders, only some of which are JS projects. In a folder named "/common" we might...