Open TurnipXenon opened 1 year ago
We need to pass the contexts with the static url to turnip T.T
https://github.com/vercel/next.js/discussions/10949 https://beta.nextjs.org/docs/upgrade-guide#step-1-creating-the-app-directory
We need to migrate our app context as a client side component under app/ and wrap it in a server side component that grabs the turnip_url and gives it to the client component context as a prop: https://beta.nextjs.org/docs/rendering/server-and-client-components#importing-server-components-into-client-components
Update: NVM, ise this instead https://nextjs.org/docs/basic-features/environment-variables#exposing-environment-variables-to-the-browser
We need to pass the contexts with the static url to turnip T.T
https://github.com/vercel/next.js/discussions/10949 https://beta.nextjs.org/docs/upgrade-guide#step-1-creating-the-app-directory
We need to migrate our app context as a client side component under app/ and wrap it in a server side component that grabs the turnip_url and gives it to the client component context as a prop: https://beta.nextjs.org/docs/rendering/server-and-client-components#importing-server-components-into-client-components
Update: NVM, ise this instead https://nextjs.org/docs/basic-features/environment-variables#exposing-environment-variables-to-the-browser