how to use config file in react code example Example: install config react js $ npm install config$ mkdir config$ vi config/default.json