DEV Community

Discussion on: Adding configurations to your React App at Runtime

Collapse
 
hey_yogini profile image
Yogini Bende

Hey,
This particular solution can be very useful in certain use-cases and that was the only purpose of sharing it in a blog post. I may have missed the implementation of env vars in runtime and would love to understand how it is done. If you can share implementation details for that, it would be really enlightening :)

Collapse
 
ziker22 profile image
Zikitel22

freecodecamp.org/news/how-to-imple...

This is of course only one of the implementations, but the idea is there :)

Thread Thread
 
hey_yogini profile image
Yogini Bende

Thanks for sharing. Will surely check and try to implement. 🙌

Thread Thread
 
ofirkg profile image
Ofir Katz

@ziker22
the link you provided literally has the same solution described here, maybe you misunderstood the concept of runtime config?