Skip to content
Discussion options

You must be logged in to vote

Whatever you get from your outlet, get it in the loader. So in your child route loader get the user profile, or if you only need an ID keep it on a cookie/session after login so you can just read the ID from there.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@yongzhang
Comment options

@sergiodxa
Comment options

Answer selected by yongzhang
@yongzhang
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants