Skip to content

Early return (control flow) #371

Closed Answered by lovasoa
E8y2FqZE asked this question in Q&A
Discussion options

You must be logged in to vote

Hello! Yes, you can use the redirect component for this. It will stop executing the current page, and redirect to another one (an error page in your case).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lovasoa
Comment options

Answer selected by E8y2FqZE
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