Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
How to make the site URL an external parameter to the application?
I read your Login react.js article & liked it.
My issue is that I have the React app.
Now I need to generate 3 versions, for developement, testing and production.
They all differ only in the URL for the login.
How do I make the react app agnostic/ configurable at runtime
and save the need for 3 versions??
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×