3 ms·
Thinking about this more, the React team recently (for the v16 rewrite) rewrote almost their entire test suite to use their public API. I wonder what'd happen i
by mxstbr 9y ago
Thinking about this more, the React team recently (for the v16 rewrite) rewrote almost their entire test suite to use their public API. I wonder what'd happen if you ran that test suite with Nerv—if it passes all those tests that'd be a great confidence booster!
Anybody up for trying?
- e12e 9y agoWasn't aware of the major v16 rewrite (I'm not working on a react front-end at the moment). But seeing overviews like: https://dzone.com/articles/react-16-release-whats-new https://dzone.com/articles/react-16-release-whats-new (also: https://reactjs.org/blog/2017/12/15/improving-the-repository-infrastructure.html https://reactjs.org/blog/2017/12/15/improving-the-repository...) makes me much more positive towards react - feels like there's some people taking the stuff quite seriously. Still not sure about the whole js idea, portable code that's unsigned etc - but things like this feels a little less... Cowboys and cool-aid than I'm used to from the js side of things. Some discussion here that I missed: https://news.ycombinator.com/item?id=15339983 https://news.ycombinator.com/item?id=15339983
- acemarke 9y agoYeah, the React team takes backwards compatibility very seriously. They did finally drop some deprecated methods from the main package in React 16, but made them available as separate packages, and even wrote codemods to automatically replace usages. I can recommend several resources for understanding the changes in React 16: - Lin Clark's fantastic ReactConf presentation on "A Cartoon Intro to Fiber": https://youtu.be/ZCuYPiUIONs https://youtu.be/ZCuYPiUIONs - The official announcements for React 16: https://reactjs.org/blog/2017/09/26/react-v16.0.html https://reactjs.org/blog/2017/09/26/react-v16.0.html and https://code.facebook.com/posts/1716776591680069/react-16-a-look-inside-an-api-compatible-rewrite-of-our-frontend-ui-library/ https://code.facebook.com/posts/1716776591680069/react-16-a-... - A good summary of the major changes: https://www.infoq.com/news/2017/05/react-fiber-closer-look https://www.infoq.com/news/2017/05/react-fiber-closer-look - Two articles looking at the user-facing features and changes: http://www.benmvp.com/slides/2017/reactboston/fiber.html#/ http://www.benmvp.com/slides/2017/reactboston/fiber.html#/ and https://www.robinwieruch.de/what-is-new-in-react-16/ https://www.robinwieruch.de/what-is-new-in-react-16/