Loader is not loaded : CreateBrowserRouter - React #11073
Unanswered
Shackey666
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Community,
I have an issue with my actual router:
My RedirectionWrapper on Home allows me to redirect the user depending if it logged in or not to either to the 'SIGN_IN' or 'CONTACT_DEFAULT_PAGE'.
For some reasons my loader contactLayoutLoaders is not run at all (I have api call in their, and nothing is run or display). However, my component is renderered empty...
I have also a Protected Route Layout (allwoing to either show Outlet or redirect to sign-in if not logged-in)
Am I doing something wrong?
Thank you for your precious help!
Beta Was this translation helpful? Give feedback.
All reactions