Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Add React Fast Refresh to create-react-app
/* config-overrides.js */
const { override } = require('customize-cra')
const { addReactRefresh } = require('customize-cra-react-refresh')
module.exports = override(addReactRefresh())
replace react-scripts with react-app-rewired
yarn add customize-cra customize-cra-react-refresh --dev

This comment has been minimized.

Copy link
Owner Author

@RichardLindhout RichardLindhout commented May 28, 2020

Also add yarn add react-app-rewired ---dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment