4 ms·
> React 16 (work in progress) is a rewrite, but it has the same public API, and works with more than 30,000 (!) components at Facebook, so it will most likely w
by _greim_ 10y ago
> React 16 (work in progress) is a rewrite, but it has the same public API, and works with more than 30,000 (!) components at Facebook, so it will most likely work with your code too
This is uninformative without more context. Is he saying Facebook only had 30K components, and all of them worked with the new React? Or does FB have, say, 60K components and only 30K worked seamlessly on the upgrade?
- jhall1468 10y agoI think the point is, they are testing it internally to ensure a minimal upgrade path. It works out of the box with 30,000 Facebook components right now. It's not released yet, so perhaps it will work with 100% on release, or 95% with a clear upgrade path on release. You're point might be valid if this was software that's already available, but it isn't.
- pps 10y ago> it has the same public API means basically that it is working like previous versions and if not then there is simply a bug
- spicyj 10y ago30k+ is the number of total components we have. Almost all of them worked without changes; most of the dozen or so components that needed changes were relying on unsupported, undocumented behaviors. About 99.9% of our components (literally) worked out of the box.
- danabramov 9y agoThanks for writing this clarification. Edited the post to include it.
- _greim_ 9y agoThanks!