3 ms·
I added this paragraph: >The version of the `react` package is generally not relevant for React Native users because it contains very little code (`Component`
by danabramov 10y ago
I added this paragraph:
>The version of the `react` package is generally not relevant for React Native users because it contains very little code (`Component` and `createElement`). The reconciler code is synced to React Native separately. So this an artifact of the different release cycles of RN and React, and doesn’t at all mean that RN apps are using an unstable version of React. This is the same exact version we are using at Facebook in production. I agree it’s confusing though, and we hope to align the release process between React and React Native more closely in the future.
- bigato 10y agoThank you for the answer, Dan. Would you also be able to clarify why Facebook uses an alpha version of React in production?
- spicyj 10y agoWe develop React and test it on Facebook before making open source releases. In most cases, we update the version that Facebook is using every few weeks. Since they aren't full releases at that point, we call them alphas. They let us get a better appreciation for the issues that the new code may have and how hard it is to update before we make everyone in the community upgrade.
- bigato 10y agoIsn't it semantically wrong to call it alpha if it is being used in production in one of the most used websites in the world? https://en.wikipedia.org/wiki/Software_release_life_cycle https://en.wikipedia.org/wiki/Software_release_life_cycle