Что-то про React – Telegram
Что-то про React
300 subscribers
3 photos
498 links
Немного про React.
Список статей и новостей подбирается полностью вручную.
Download Telegram
🏞 New Server Rendering Infrastructure: Fizz

Work on the new Server Rendering Infrastructure Fizz has begun. The new renderer features built in support for Suspense and utilizes node streams. Check out Andrew’s talk at ZEIT earlier this year for a glimpse of what the new server renderer will be able to do.
https://github.com/facebook/react/pull/14144
🛥 Avoid a V8 Performance Cliff When Profiling

Thanks to the help of V8 team members, the React team was able to find and fix a significant performance cliff during the commit phase when the React profiler is enabled.
https://github.com/facebook/react/pull/14383
📌 Enable Hooks In Fabric

Fabric is the ongoing large-scale architectural rewrite of React Native. You can learn more about it in the State of React Native 2018 blog post.
https://github.com/facebook/react/pull/14301
💬 Discussion: Provide Ways to Bail out Inside Hooks

Some use cases require function components with hooks to bail out early. The discussion gives insights into when this is needed. Make sure to check out Sebastian’s latest response on this topic.
https://github.com/facebook/react/issues/14110
📌 Mention Hooks As Accepted on the Website

The React Hooks RFC has recently been merged. Thanks to Jamie (jamiebuilds), the website is now updated to reflect this as well.
https://github.com/reactjs/reactjs.org/pull/1485
🎉 React 16.7 Release

No, This Is Not The One With Hooks, but this release contains non-trivial changes to fix various performance issues. Read the accompanying release blog post for more details.
https://reactjs.org/blog/2018/12/19/react-v-16-7.html
📋 Memoize Promise Listeners

Previously, React attached new listeners whenever a promise was thrown. This was causing special headaches in non-concurrent mode, where React re-renders immediately after a promise is thrown, causing exponential growth of promise listeners.
https://github.com/facebook/react/pull/14429
🛠 DevTools: Support Editable Props for More Component Types

In the upcoming DevTools release, you’ll be able to edit the props of more component types including function components, host elements, and special types like context providers, memo, and forwardRef. Check out the pre-release build.
https://github.com/facebook/react-devtools/pull/1249
📌 WIP: Support Hooks in DevTools

Support for Hooks in DevTools allows you to inspect useState state values, useCallback functions, and even deeply nested custom hooks.
While the core team is getting hooks ready for a stable release, this work in progress pull request gives an early glimpse of the new DevTools integration.

https://github.com/facebook/react-devtools/pull/1272
➡️ Rename useImperativeMethods to useImperativeHandle

The hook to customize the instance value that is exposed to parent components when using ref is now called useImperativeHandle.

https://github.com/facebook/react/pull/14565
👀 DevTools: Better Display for String Contexts

Context values that hold a primitive data type are now properly formatted in DevTools.

https://github.com/facebook/react-devtools/pull/1256
🛠 Separate Current Owner and Dispatcher

These two private APIs give deep access to React internals and a few external libraries depend on them. If your library does, check out the pull request for a migration strategy.

https://github.com/facebook/react/pull/14548
🌀 Release 16.8.0-alpha.0

If you’ve played around with hooks before using the alpha release, make sure to upgrade to 16.8.0-alpha.0 and benefit from all bug fixes that were published with 16.7.0.

https://twitter.com/dan_abramov/status/1083139151720001543