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
The Middleware first renders the page and then call the API and after that it redirects it should be inverse the API should called first and then the page should be rendered after that middleware will work properly
currently the page first loads and then redirects .
This can be achieved by using react new router v6 changes of using useDataLoader()
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.
-
The Middleware first renders the page and then call the API and after that it redirects it should be inverse
the API should called first and then the page should be rendered after that middleware will work properly
currently the page first loads and then redirects .
This can be achieved by using react new router v6 changes of using useDataLoader()
Beta Was this translation helpful? Give feedback.
All reactions