StrictMode is a tool for highlighting potential problems in an application.
StrictMode is a tool for highlighting potential problems in an application. Like Fragment, StrictMode does not render any visible UI. It activates additional checks and warnings for its descendants.
Strict mode checks are run in development mode only; they do not impact the production build.
1.3.0 / React 16.3.0
Displays a fallback view until an asynchronous view becomes available.
Displays a fallback view until an asynchronous view becomes available.
See https://reactjs.org/docs/code-splitting.html#suspense
1.4.0 / React 16.6.0
Create a new context.
Create a new context.
If you'd like to retain type information about the JS type used under-the-hood with React,
use React.Context(defaultValue)
instead.
1.3.0 / React 16.3.0
Ref forwarding is an opt-in feature that lets some components take a ref they receive, and pass it further down (in other words, "forward" it) to a child.
Ref forwarding is an opt-in feature that lets some components take a ref they receive, and pass it further down (in other words, "forward" it) to a child.
See https://reactjs.org/docs/forwarding-refs.html
Class components can bail out from rendering when their input props are the same using shouldComponentUpdate.
Class components can bail out from rendering when their input props are the same using shouldComponentUpdate. Now you can do the same with function components by wrapping them in React.memo.
1.4.0 / React 16.6.0
(Since version 1.3.0 / React 16.3.0) Use Ref. For details see https://github.com/japgolly/scalajs-react/blob/master/doc/REFS.md