Skip to content

Centralized authentication & authorization in layout loaders (v6) #13730

Answered by sergiodxa
functasti asked this question in Q&A
Discussion options

You must be logged in to vote

Since parent loaders are always called before child loaders

This is wrong, parent and child loaders are all called in parallel

You need to add authorization to every loader as you don't know which will will resolve it faster.

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@nickkfwong
Comment options

@sergiodxa
Comment options

@nickkfwong
Comment options

@sergiodxa
Comment options

@nickkfwong
Comment options

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