v18.1.0v18.0.0
Reading changes from the repo…
renderToPipeableStream
is optimized, allowing for faster server-side rendering and improved overall responsiveness of your applications. useDeferredValue
hook is now more efficient, preventing infinite update loops when passing unmemoized values, leading to a more stable user experience. setState
in useInsertionEffect
is improved, ensuring that developers are alerted to potential issues during state updates. useDeferredValue
reverted to the initial value instead of reusing the previous value during urgent updates, enhancing the reliability of state management. suppressHydrationWarning
, ensuring it functions as intended in production environments to prevent misleading warnings.