We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.

hafiz muhammed • 3 years ago

Great Idea, But what should we do if the data changes in the future?
Currently with this solution we need to build the app again right?

rees • 3 years ago

This is an interesting approach. I’ve currently got a similar problem where by I have FAQ data from GraphQL that could be on any component.

At the moment it’s being used in getStaticProps within pages/[slug].js but I’m going to try your method and maybe see if it could be done with useContext