Open amclin opened 5 years ago
Example should explain and discourage using Context in the first place
https://www.youtube.com/watch?v=3XaXKiXtNjw https://reactjs.org/docs/context.html#before-you-use-context https://reactjs.org/docs/composition-vs-inheritance.html
Add a
pages/_app.js
file that sets up a basiccontext
example.https://nextjs.org/docs#custom-app