DEV Community

Discussion on: Very Useful Features Provided By Create React App You Might Not Know

Collapse
 
offendingcommit profile image
Jonathan Irvin

It's important to note that the process.env.REACT_APP_* variables are best used for buildtime changes and work great in CI. For runtime changes, you probably should use some feature flags from an endpoint or maybe state managed feature flags.

Collapse
 
myogeshchavan97 profile image
Yogesh Chavan

Thanks for adding that @sublimegeek