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
What would be a good / the best approach to make the following workflow possible?
Universal-router, receives url '/some/page'
Tries to fetch pageinfo based on '/some/page' from some backend.
Either: finds the page and loads a generic react component, passes along data received from the backend to the component. Or: the page was not found in which case the "not found" component is returned.
Is it possible to write this logic in the resolveRoute(context, params); ?
The text was updated successfully, but these errors were encountered:
mrmedicine
changed the title
Routing based on backend logic
Question: Routing based on backend logic
Jan 17, 2019
Question
What would be a good / the best approach to make the following workflow possible?
Or: the page was not found in which case the "not found" component is returned.
Is it possible to write this logic in the resolveRoute(context, params); ?
The text was updated successfully, but these errors were encountered: