Using Environment Variables on the Front-end with NextJS
A common usecase you may have in your web app is sharing some environment variables between your server-side and client-side code. This post explains how to do it in Next.js.
A common usecase you may have in your web app is sharing some environment variables between your server-side and client-side code. This post explains how to do it in Next.js.
In this post, I’ll explain what NextJS is, and how you can use it to build a server-rendered React web application and deploy it to production.