Recoil: native directory not published for react-native

Created on 19 Sep 2020  路  5Comments  路  Source: facebookexperimental/Recoil

When I installed the newly published 0.0.13 it looks like the native/recoil.js is not created, and it also does not have the react-native entry in package.json perhaps this due to some publishing issue?

I assumed this had to be due to some npm configuration but I didn't see anything obvious like an .npmignore, and the files seems to include the native directory.

Most helpful comment

Hi everyone! FYI we've published a "nightly build" branch for testing purposes. If you want to try out recoil with react native before we release next version, try install the nightly branch with the "install git branch" feature of npm/yarn:

npm install https://github.com/facebookexperimental/Recoil.git#nightly

Or

yarn add https://github.com/facebookexperimental/Recoil.git#nightly

All 5 comments

I鈥檓 interested where the 0.0.13 release came from since the version in master is currently 0.0.12 and there is a PR to update the package version currently open. https://github.com/facebookexperimental/Recoil/pull/581

I鈥檓 not sure if 0.0.13 that was built is valid, I.e. was it built with the react-native changes in at all?

Yes, it is strange. It looks like master contains the changes for react-native, where it looks like 0.0.12 is the latest. The latest version I see on npmjs.com is 0.0.13, perhaps it is supposed to only have changes for SSR (according to the changelogs PR)?

Might want to see what ended up on npmjs.com just to make sure.

React native support was not published with 0.0.13. It was published before the PR was merged.

Hi everyone! FYI we've published a "nightly build" branch for testing purposes. If you want to try out recoil with react native before we release next version, try install the nightly branch with the "install git branch" feature of npm/yarn:

npm install https://github.com/facebookexperimental/Recoil.git#nightly

Or

yarn add https://github.com/facebookexperimental/Recoil.git#nightly
Was this page helpful?
0 / 5 - 0 ratings

Related issues

Sawtaytoes picture Sawtaytoes  路  4Comments

yuantongkang picture yuantongkang  路  3Comments

jamiebuilds picture jamiebuilds  路  3Comments

robsoncezario picture robsoncezario  路  3Comments

ibnumusyaffa picture ibnumusyaffa  路  4Comments