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
If I swap the defer() for the data() helper and then call useLoaderData(). I'm not getting empty objects for all the promises, even after they're pass through <Await />. Is that expected? Does anyone have a working example using data() and deferring some of the data loading?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I've enabled single fetch in my app and I'm trying to remove one of the defers. Currently it looks like
If I swap the defer() for the data() helper and then call
useLoaderData()
. I'm not getting empty objects for all the promises, even after they're pass through<Await />
. Is that expected? Does anyone have a working example using data() and deferring some of the data loading?Beta Was this translation helpful? Give feedback.
All reactions