Что-то про React – Telegram
Что-то про React
300 subscribers
3 photos
498 links
Немного про React.
Список статей и новостей подбирается полностью вручную.
Download Telegram
Scheduler: Yield Many times per frame, No rAF

A new experimental flag that changes the scheduling logic to yield many times per frame instead of guessing the next VSync using requestAnimationFrame.

https://github.com/facebook/react/pull/16214
Scheduler: Store Tasks on a Min Binary Heap

A min binary heap has better performance characteristics for implementing a priority queue.

https://github.com/facebook/react/pull/16245
🚩 Add Feature Flag to Disable Legacy Context

The team is experimenting with modern builds of React which disables legacy features. The open source build is unaffected by this change.

https://github.com/facebook/react/pull/16269
🥅 Fix Priority of Clean-Up Function on Deletion

This PR fixes the priority of the cleanup function returned from an useEffect() hook when the component (or a parent) was deleted from the tree.

https://github.com/facebook/react/pull/16277
🐛 Effects Should Not Have Higher than Normal Priority

This diff fixes a bug that sometimes caused effects to be flushed early.

https://github.com/facebook/react/pull/16257
Styled Typography

Typograpy components for react and styled-components.
React v16.9.0 and the Roadmap Update

"Today we are releasing React 16.9. It contains several new features, bugfixes, and new deprecation warnings to help prepare for a future major release."
Apollo Client, now with React Hooks

Introduced in React 16.8, Hooks are a new way to write stateful components while avoiding the pitfalls of classes. Apollo Client now includes three hooks that you can drop into your app, anywhere you currently use a corresponding higher-order component or render prop component: useQuery, useMutation, and useSubnoscription.
Investigating Discord’s React Memory Leak

In November of 2018, Discord tried to upgrade React from 16.5 to 16.7. After they shipped the upgrade, they started getting reports of users experiencing Discord using a lot of memory — something somewhere was leaking. This is that story and how they fixed it.
The React Hooks Guide - Tutorials and Examples

A thorough step-by-step guide for learning the basic and advanced Hooks (state, effects, context, and reducers) included in ReactJS. Eric provides take-home code demos and GitHub projects you can fork as well as resources and links for more learning on the subject of React Hooks.
How to fix the ugly focus ring and not break accessibility in React

Creating beautiful interfaces while maintaining accessibility has always been a challenge in the frontend. One barrier is the ugly “:focus” ring outline. Read on to learn how to figure out whether a focus outline should be shown using a React component. This helps you in making your sites more accessible without compromising on design.
Build a YouTube Clone Application Using React

In this video, you'll learn how to build a YouTube clone application from Scratch using React. This project covers lifecycle methods, project structure, destructuring, state management, passing props from parent to child components, API calls, and more.
❤️ Adopt Contributor Covenant

React is adopting the Contributor Covenant. It represents a shared understanding of what is expected form a healthy community.

https://github.com/facebook/react/pull/16613
🛠 DevTools v4 Release

After months of development, the experimental DevTools rewrite is now public. A lot has changed in version 4, check out the blog post for more detail.

https://reactjs.org/blog/2019/08/15/new-react-devtools.html
🌏 React Docs Localizations Update

The Arabic localizations is now complete:
ar.reactjs.org
And the following localizations are now live:
• Azerbaijani: az.reactjs.org
• Bulgarian: bg.reactjs.org
• Indonesian: id.reactjs.org
• Mongolian: mn.reactjs.org
• Vietnamese: vi.reactjs.org
🚀 Babel Transform JSX to React.jsx/React.jsxDEV

As per the RFC for createElement changes, this change is an experimental fork of @babel/plugin-transform-react-jsx that transpiles to React.jsx instead.

https://github.com/facebook/react/pull/16432
🔄 Fast Refresh Explainer

Dan wrote an explainer of how a Fast Refresh integration for the Web could look like.

https://github.com/facebook/react/issues/16604#issuecomment-528663101
💤 Partial Support for React.lazy() in Server Renderer

The Server Render now has partial support for lazy-loaded components.

https://github.com/facebook/react/pull/16383
➡️ DevTools Moved into Core Repo

The DevTools are now part of the React Core repository. The previous repository now also directs to the Core one.

https://github.com/facebook/react/tree/master/packages/react-devtools