Skip to content

useApplicationContext returns empty object after migration #2583

Answered by OlofMoriya
OlofMoriya asked this question in Q&A
Discussion options

You must be logged in to vote

I found the reason for the inconsistency to be that there was a mismatch between the package used by the page and the package used by application shell because of them being separated and packaged with their individual package.json. Setting up aliases for the packages helped.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by OlofMoriya
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
3 participants