Switch between urls in development mode and production mode
npm install @codewell/use-development-value
import useDevelopmentValue from '@codewell/use-development-value';
const originalValue = 'foo';
const developmentValue = 'dev-foo';
// Uses process.env.NODE_ENV to switch between the urls
const value = useDevelopmentValue(originalValue, developmentValue);