Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.


    Use Environment Variables with Create React App


    Environment variables are a standard way to configure variables in your app based on the current environment (development, test, production). This lesson explores how to use environment variables specifically with Create React App, starting with the built in NODE_ENV variable, as well as how to create custom environment variables for your app.