mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-08-15 18:45:06 +00:00
[change] React 18 support
* Support React 18 concurrency and constraints. * Add new render / hydrate functions. * Remove uses of findNodeHandle. * Expose ability to unmount an application once ran. Fix #1529 Close #2330
This commit is contained in:
committed by
Nicolas Gallagher
parent
3a024ee308
commit
9868738604
@@ -69,6 +69,10 @@ If the client should hydrate server-rendered HTML.
|
||||
The initial props passed to the root component.
|
||||
{% endcall %}
|
||||
|
||||
{% call macro.prop('mode', '"concurrent" | "legacy"') %}
|
||||
Default is 'concurrent'. Setting to 'legacy' will make the app will behave as if it’s running React 17.
|
||||
{% endcall %}
|
||||
|
||||
{% call macro.prop('rootTag', 'HTMLElement') %}
|
||||
The native element into which the application is rendered.
|
||||
{% endcall %}
|
||||
|
||||
Reference in New Issue
Block a user