Help undertsanding routing between statically generated pages with dynamic routes... Why is context lost? #16246
Answered
by
martinseanhunt
martinseanhunt
asked this question in
Help
-
In my application, whenever I follow a link to a statically generated page which uses dynamic routing with getStaticPaths e.g. <Link href={ My react context created with useContext and being provided to the rest of the application via _app.js is being reset. Am I missing somethin fundemental about how SSG is working? Would be massively grateful for any help :) |
Beta Was this translation helpful? Give feedback.
Answered by
martinseanhunt
Aug 17, 2020
Replies: 1 comment
-
Sorry all, just realised I was misunderstanding routing between dynamic pages and missed that I needed to do
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
martinseanhunt
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sorry all, just realised I was misunderstanding routing between dynamic pages and missed that I needed to do