Browse Source

Seasons are ambiguous (sorry Southern hemisphere friends)

main
Sophie Alpert 6 years ago
parent
commit
eea24420fd
  1. 12
      content/blog/2018-11-27-react-16-roadmap.md

12
content/blog/2018-11-27-react-16-roadmap.md

@ -10,9 +10,9 @@ You might have heard about features like "Hooks", "Suspense", and "Concurrent Re
We plan to split the rollout of new React features into the following milestones:
* React 16.6: [Suspense for Code Splitting](#react-166-suspense-for-code-splitting-shipped) (*already shipped*)
* React 16.7: [React Hooks](#react-167-hooks-winter-20182019) (Winter 2018–2019)
* React 16.8: [Concurrent Mode](#react-168-concurrent-mode-spring-2019) (~Spring 2019)
* React 16.9: [Suspense for Data Fetching](#react-169-suspense-for-data-fetching-summer-2019) (~Summer 2019)
* React 16.7: [React Hooks](#react-167-hooks-q1-2019) (~Q1 2019)
* React 16.8: [Concurrent Mode](#react-168-concurrent-mode-q2-2019) (~Q2 2019)
* React 16.9: [Suspense for Data Fetching](#react-169-suspense-for-data-fetching-q3-2019) (~Q3 2019)
These are estimates, and the details may change as we're further along. There's at least two more projects we plan to complete in 2019. They require more exploration and aren't tied to a particular release yet:
@ -65,7 +65,7 @@ Code splitting is just the first step for Suspense. Our longer term vision for S
**Recommendation:** If you only do client rendering, we recommend widely adopting `React.lazy()` and `<React.Suspense>` for code splitting React components. If you do server rendering, you'll have to wait with adoption until the new server renderer is ready.
### React 16.7: Hooks (Winter 2018–2019)
### React 16.7: Hooks (~Q1 2019)
*Hooks* let you use features like state and lifecycle from function components. They also let you reuse stateful logic between components without introducing extra nesting in your tree.
@ -99,7 +99,7 @@ Hooks represent our vision for the future of React. They solve both problems tha
**Recommendation:** When you’re ready, we encourage you to start trying Hooks in new components you write. Make sure everyone on your team is on board with using them and familiar with this documentation. We don’t recommend rewriting your existing classes to Hooks unless you planned to rewrite them anyway (e.g. to fix bugs). Read more about the adoption strategy [here](/docs/hooks-faq.html#adoption-strategy).
### React 16.8: Concurrent Mode (~Spring 2019)
### React 16.8: Concurrent Mode (~Q2 2019)
*Concurrent Mode* lets React apps be more responsive by rendering component trees without blocking the main thread. It is opt-in and allows React to interrupt a long-running render (for example, rendering a new feed story) to handle a high-priority event (for example, text input or hover). Concurrent Mode also improves the user experience of Suspense by skipping unnecessary loading states on fast connections.
@ -133,7 +133,7 @@ Concurrent Mode is a big part of our vision for React. For CPU-bound work, it al
**Recommendation:** If you wish to adopt Concurrent Mode in the future, wrapping some component subtrees in [`<React.StrictMode>`](https://reactjs.org/docs/strict-mode.html) and fixing the resulting warnings is a good first step. In general it's not expected that legacy code would immediately be compatible. For example, at Facebook we mostly intend to use the Concurrent Mode in the more recently developed codebases, and keep the legacy ones running in the synchronous mode for the near future.
### React 16.9: Suspense for Data Fetching (~Summer 2019)
### React 16.9: Suspense for Data Fetching (~Q3 2019)
As mentioned earlier, *Suspense* refers to React's ability to "suspend" rendering while components are waiting for something, and display a loading indicator. In the already shipped React 16.6, the only supported use case for Suspense is code splitting. In the future 16.9 release, we'd like to provide officially supported ways to use it for data fetching too. We'll provide a reference implementation of a basic "React Cache" that's compatible with Suspense, but you can also write your own. Data fetching libraries like Apollo and Relay will be able to integrate with Suspense by following a simple specification that we'll document.

Loading…
Cancel
Save