v16.4.0v16.3.2
Reading changes from the repo…
Profiler
component that collects render time metrics, allowing developers to analyze performance more effectively. This experimental API is initially exported as React.unstable_Profiler
. Timeout
component type to React, which is conditionally included based on the enableSuspense
feature flag, enhancing the capabilities of concurrent rendering. getDerivedStateFromProps
to ensure it only fires when props or state change, preventing unnecessary re-renders and improving performance. Profiler
component, helping developers understand its benefits and how to implement it effectively.