Что-то про React – Telegram
Что-то про React
300 subscribers
3 photos
498 links
Немного про React.
Список статей и новостей подбирается полностью вручную.
Download Telegram
🎉 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
📱 Don’t Add onclick Listener to React Root
Thanks to an excellent bug report by Alexey Mikitevich (amikitevich) we were made aware of a recent regression in React DOM. If you’re into iOS Safari touch oddities, the bugfix PR is an interesting read.

https://github.com/facebook/react/pull/13778
🔥 RFC: React.pure()

The Core team filed an RFC for React.pure - an API that lets you bail out of updates from a function component, similar to React.PureComponent for classes.

https://github.com/reactjs/rfcs/pull/63
💥 RFC: React.lazy()

To make it easier to code split individual components in React, the new React.lazy() API adds first-class support by embracing dynamic imports.

https://github.com/reactjs/rfcs/pull/64
⚡️ RFC: shouldComponentRemount

Alex Krolick ([alexkrolick](https://github.com/alexkrolick)) published an RFC for shouldComponentRemount, a new lifecycle method to control when React mounts and unmounts a component.

https://github.com/reactjs/rfcs/pull/62
Rename Priority Levels

The Core team also made small changes to some of the API names for the scheduler - one of the building blocks of React’s upcoming concurrent mode. The API is not final and we can expect an RFC soon.

https://github.com/facebook/react/pull/13842
🕵️‍♀️ Deprecate findDOMNode in StrictMode

In an attempt to make React applications easier to maintain, the Core team considers deprecating findDOMNode. The current API is breaking abstraction levels which leads to refactoring hazard.

https://github.com/facebook/react/pull/13841
Revert: React.pure() Automatically Forwards Ref

Last week we were covering a PR that added forwardRef behavior to React.pure() by default. The PR was since reverted while the Core team is working on the future of ref forwarding.

https://github.com/facebook/react/pull/13887
🔥 RFC: React Hooks

The React team announced Hooks - A new and backwards-compatible Component API. In addition to the RFC, the team also launched [a complete set of documentation](https://reactjs.org/docs/hooks-intro.html). You can play around with React Hooks today by using the v16.7.0-alpha release on npm.

https://github.com/reactjs/rfcs/pull/68
🎉 React v16.6.0: lazy, memo and contextType

This week also marks the release of the stable v16.6. This not only adds the lazy, memo, contextType, and getDerivedStateFromError APIs that we covered in previous issues, but is also the first public build where Suspense is no longer behind a feature flag and not marked unstable.

https://reactjs.org/blog/2018/10/23/react-v-16-6.html