v16.7.0v16.6.3
Reading changes from the repo…
overrideProps()
, is added to DevTools, allowing users to edit props for function components and special types like memo
and forwardRef
, enhancing the debugging experience. react-is
package now supports React.Suspense
and React.lazy()
, improving compatibility with libraries like Enzyme and ensuring better integration with these features. React.lazy
, especially in scenarios with multiple renders. ErrorBoundary
tests are enhanced to cover useEffect
and useLayoutEffect
, ensuring better reliability and error management in applications. useCallback
behavior in server-side rendering (SSR) to ensure it returns an identity function, preventing unexpected behavior in SSR scenarios. React.memo
did not resolve outer default props correctly, ensuring that default props are respected during re-renders.