How should we use React's Context API in Next.js 13? – SEO
We were using react's context API in our next.js 12 apps. We want to upgrade to next.js 13. We get this error: react__WEBPACK_IMPORTED_MODULE_0__.createContext is not a function For this code: import React from 'react' const SiteContext = React.createContext() export default…