11:42Hiding API Key by Adding Custom Environment Variables | Complete React Course in Hindi #37
From the creator
React class-based components: In this react course, we will see how to learn react using projects. This is going to be a project-based course full of real-world react projects. Make sure to access the playlist here (Important): https://www.youtube.com/playlist?list=PLu0W_9lII9agx66oZnT6IyhcMIbUMNMdt All the source code and other material will be uploaded on codewithharry.com as and when available! React class-based components: In this react course, we will see how to learn react using projects. This is going to be a project-based course full of real-world react projects. Make sure to access the playlist here (Important): https://www.youtube.com/playlist?list=PLu0W_9lII9agx66oZnT6IyhcMIbUMNMdt All the source code and other material will be uploaded on codewithharry.com as and when available! WARNING: Do not store any secrets (such as private API keys) in your React app! Environment variables are embedded into the build, meaning anyone can view them by inspecting your app's files. I am using my API key just to hide it in the videos. In a practical scenario, it will be a cake piece to extract the API out from the react build! More info here: https://create-react-app.dev/docs/adding-custom-environment-variables/ ►Checkout my English channel here: https://www.youtube.com/ProgrammingWithHarry ►Click here to subscribe - https://www.youtube.com/channel/UCeVMnSShP_Iviwkknt83cww Best Hindi Videos For Learning Programming: ►Learn Python In One Video - https://www.youtube.com/watch?v=ih
Published 2021-08-29 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.





