You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current thinking about the StrictMode API is to support multiple levels of strictness (see #20849). React will likely choose a default level for a given release, but level can be overridden for an entire application via an option passed to createRoot or for a subtree (using the <StrictMode level="..."> tag).
DevTools can support iterating on level as well, by showing a list of all possible levels, the recommended default level, and which levels are enabled. Users could toggle these values to temporarily1 override the level used for the root application.
1 Temporary override could be applied for some amount of time (e.g. 1 day or 1 week) and then reset so developers don't forget about the override.
The text was updated successfully, but these errors were encountered:
Current thinking about the
StrictMode
API is to support multiple levels of strictness (see #20849). React will likely choose a default level for a given release, but level can be overridden for an entire application via an option passed tocreateRoot
or for a subtree (using the<StrictMode level="...">
tag).DevTools can support iterating on level as well, by showing a list of all possible levels, the recommended default level, and which levels are enabled. Users could toggle these values to temporarily1 override the level used for the root application.
1 Temporary override could be applied for some amount of time (e.g. 1 day or 1 week) and then reset so developers don't forget about the override.
The text was updated successfully, but these errors were encountered: