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
@markdalgleish - Is it possible to use redial when the top level components are decorated with for example an authentication check?
It seems like if a route gets matched, redial is designed to trigger and run the callbacks even if the authenticated check will fail and the user would get redirected somewhere else. Is that right?
I suppose this is what issues #38 and #47 are pertaining to.
If you were able to decorate the components further down, then perhaps they would only get their fetches triggered when those components were indeed rendered.
Is that right or am I missing something? That would make it very difficult to use this library if you were hiding/showing components further down that depended on different data that needed fetching.
The text was updated successfully, but these errors were encountered:
Aryk
changed the title
Using redial when Route components are decorated?
Using redial Route components decorated (ie with an Auth check)?
Apr 16, 2017
Aryk
changed the title
Using redial Route components decorated (ie with an Auth check)?
How does redial handle redirects triggered with a decorated component?
Apr 16, 2017
@markdalgleish - Is it possible to use redial when the top level components are decorated with for example an authentication check?
It seems like if a route gets matched, redial is designed to trigger and run the callbacks even if the authenticated check will fail and the user would get redirected somewhere else. Is that right?
I suppose this is what issues #38 and #47 are pertaining to.
If you were able to decorate the components further down, then perhaps they would only get their fetches triggered when those components were indeed rendered.
Is that right or am I missing something? That would make it very difficult to use this library if you were hiding/showing components further down that depended on different data that needed fetching.
The text was updated successfully, but these errors were encountered: