Security of useEffect?
-
Hi,
I’ve used Your plugin in order to create a react app. Now, I’d need to connect to the external API using the useEffect hook. As I can’t find a simple alternative for enviroment variables, I’ve just hardcoded the API’s link in the app. When I go to the reactpress app page and inspect the code, I cannot find the API’s link (even though it works). Can it be concluded that that practice is not unsafe? In the negative case, what would be the simplest workaround?
Cheers and thanks in advance
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Security of useEffect?’ is closed to new replies.