Suspense doesn't seem to work with ContextProvider
hey, so recently I noticed,
If I use
But if I have
and then have a
then I will not see the suspense-placeholder and in fact my UI will not update until the data is loaded.
Does
If I use
createResource(fetch) and then put <Suspense fallback={<Placeholder>}> I will see the placeholder during loading.But if I have
createResource(fetch) inside a ContextProvider, i.e.:and then have a
then I will not see the suspense-placeholder and in fact my UI will not update until the data is loaded.
Does
suspense & createResource not work around context-provide and use?