The library for web and native user interfaces.
await act(async () => ...)
(@threepointone in #14853)useReducer()
. (@acdlite in #15124)contextType
is set to Context.Consumer
instead of Context
. (@aweary in #14831)contextType
is set to invalid values. (@gaearon in #15142)size
attribute. (@kulek1 in #14242)useEffect(async () => ...)
warning message. (@gaearon in #15118)setState
in shallow renderer to work with Hooks. (@gaearon in #15120)React.memo
. (@aweary in #14816)forwardRef
. (@eps1lon in #15100)ReactDOM.render
being ignored inside useEffect
. (@gaearon in #14799)useImperativeHandle
to work correctly when no deps are specified. (@gaearon in #14801)crossOrigin
attribute to work in SVG image
elements. (@aweary in #14832)act()
warning. (@threepointone in #14855)useReducer
Hook lazy initialization API. (@acdlite in #14723)useState
and useReducer
Hooks. (@acdlite in #14569)Object.is
algorithm for comparing useState
and useReducer
values. (@Jessidhia in #14752)useEffect
/useMemo
/useCallback
Hooks. (@acdlite in #14594)React.lazy()
. (@gaearon in #14626)undefined
or a function. All other values, including null
, are not allowed. @acdlite in #14119
shouldComponentUpdate
in the presence of getDerivedStateFromProps
for Shallow Renderer. (@chenesan in #14613)ReactTestRenderer.act()
and ReactTestUtils.act()
for batching updates so that tests more closely match real behavior. (@threepointone in #14744)React.lazy
for large numbers of lazily-loaded components. (@acdlite in #14429)react-dom/[email protected]
and react@<16.6
. (@gaearon in #14291)setTimeout
in testing environments. (@bvaughn in #14358)Suspense
and lazy
. (@acdlite in #14133, #14157, and #14164)React.memo
updates in React DevTools. (@bvaughn in #14141)renderToNodeStream()
calls. (@sebmarkbage in #14182)