Note To Self — How To Hide API Key in React

  1. npm install dotenv

--

--

--

Copy and Paste what’s on my mind. Perfect.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Change Detection Strategy

What is Prototype in JavaScript?

The Beauty Of Bit

Hacking Wordle To Justify My CS Degree

https://youtu.be/6XkqVEfSGME

Angular: Core and Shared Modules

How http cache on static assets works out of the box

deargodwhy.js

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Dong Xia

Dong Xia

Copy and Paste what’s on my mind. Perfect.

More from Medium

How to use Redux-Toolkit. A Step-by-Step Guide.

How to protect /uploads route with a custom policy in Strapi V4

The Hidden Beauty of API Abuse

React and Google maps with filtering and categories