Что-то про React – Telegram
Что-то про React
300 subscribers
3 photos
498 links
Немного про React.
Список статей и новостей подбирается полностью вручную.
Download Telegram
🎟 Prevent React from Overwriting window.event

Sergei Startsev (sergei-startsev) worked on a fix to prevent React from overwriting window.event in event callbacks when using a development build. The PR is also a great example of the throughout manual testing we do for React DOM.

https://github.com/facebook/react/pull/13697
🔭 DOM Event Mount Target Considerations

React is currently listening to DOM events on the document level. If you’re curious about potential alternatives which we’re considering as part of React Fire, check out my write-up about this topic.

https://github.com/facebook/react/issues/13713
💥 Enable getDerivedStateFromError

This new lifecycle method that is invoked after an error has been thrown by a descendant component. With that, you directly update a component’s state based on the error. Learn more in the open documentation PR.

https://github.com/facebook/react/pull/13746
🎉 Create React App 2.0

This week, Create React App 2.0 was released bringing a year’s worth of improvements with it. Most notably support for SASS and Babel 7.

https://github.com/reactjs/reactjs.org/pull/1215
👀 React Conf Speaker Update

React Conf 2018 is only three weeks ahead. This week, the final list of speakers was released! If you don’t have the chance to attend, join me in watching the live stream.

https://conf.reactjs.org/speakers.html
📝 Making React Docs Even Better

Special shout-out to Dustin Schau (DSchau) for landing multiple commits that are improving the official React documentation. A great documentation is vital to us and we are more than happy for the help.

https://github.com/reactjs/reactjs.org/commits?author=DSchau
🤙 Functional → Function Component

Earlier this year Kyle Simpson (getify) started to raise concerns about the terminology used for functional components. To avoid further confusion, we’ll refer to them as function components from now on.

https://github.com/reactjs/reactjs.org/pull/863
📚 React Cache

We’re soon able to release the simple-cache-provider API as react-cache. Thanks to Marzio Superina (msuperina) for handing over the npm package. This API will be helpful when working with React Suspense.

https://github.com/facebook/react/pull/13755