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
To add a Boundary() method to the setupServer() method in React native to isolate the behaviour of network just like in nodeJS ,since async_hook is not available in react-native, there's no AsyncLocalStorage() in react native like node.js, but there are some async local storage packages in react native that we can use or something else.
The text was updated successfully, but these errors were encountered:
I would love to add server.boundary() to React Native but it requires the AsyncLocalStorage API to work. There is no means to implement that API manually. It integrates into the event loop (and internal Node.js hooks) and cannot be provided from the userland.
We need to wait until React Native adds support for AsyncLocalStorage officially.
Scope
Adds a new behavior
Compatibility
Feature description
To add a Boundary() method to the setupServer() method in React native to isolate the behaviour of network just like in nodeJS ,since async_hook is not available in react-native, there's no AsyncLocalStorage() in react native like node.js, but there are some async local storage packages in react native that we can use or something else.
The text was updated successfully, but these errors were encountered: