Skip to content

Confusing order of reactive events with context (useContext returns undefined) #2262

Closed Answered by ryansolid
unoexperto asked this question in Q&A
Discussion options

You must be logged in to vote

If it isn't even finding the context key which is ever present it's a lookup issue. Either something is iffy where SessionProvider is inserted or it's possible there is an error in our new fast lookup mechanism we added in 1.8.

The first cause I can't see from the code examples given as we don't see where it is inserted. The second I would probably need a reproduction. If I were to debug this I'd be interested if Authenticated route could be created outside of the flow somewhere/created twice.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by unoexperto
Comment options

You must be logged in to vote
0 replies
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