How to manage suspense within the bounds of the component #76
gustavorino
started this conversation in
General
Replies: 1 comment
-
Sorry, I've just realized this is not really something related to observable-hooks but to react suspense inner workings. https://reactjs.org/docs/concurrent-mode-suspense.html#for-library-authors |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Every suspense demo on the docs is calling global functions and connecting to global resource/observables.
How can I create a resource within the component? I've tried using useMemo but it made the component to LOOP.
For each component I have a dependency from the props, and this component is not Singleton.
example:
Now, somewhere else in the application
Beta Was this translation helpful? Give feedback.
All reactions