Skip to content

[⚠️DEPRECATED] A Craco plugin to enable "Fast Refresh" (also previously known as Hot Reloading) for React components.

License

Notifications You must be signed in to change notification settings

vimcaw/craco-fast-refresh

Repository files navigation

⚠️ DEPRECATION WARNING

Fast Refresh has been supported officially since create-react-app v4 release, this plugin only works on create-react-app v3, and it has some bugs (such as multiple error overlays), please use create-react-app v4 if possible.

Welcome to craco-fast-refresh 👋

Version Total Download Count Download Count DM License: MIT

A Craco plugin to enable "Fast Refresh" (also previously known as Hot Reloading) for React components.

What is Fast Refresh

React Fast Refresh is a replacement for React Hot Loader. Fast refresh makes your React app reloads slick and painless on code changes, providing a great developer experience.

More information:

Install

If you use yarn:

yarn add -D craco-fast-refresh

If you use npm:

npm i -D craco-fast-refresh

Usage

Add a plugin object to your plugins on craco.config file:

const fastRefreshCracoPlugin = require('craco-fast-refresh');

module.exports = () => {
  return {
    plugins: [{ plugin: fastRefreshCracoPlugin }],
  };
};

Author

👤 vimcaw [email protected]

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!


This README was generated with ❤️ by readme-md-generator

About

[⚠️DEPRECATED] A Craco plugin to enable "Fast Refresh" (also previously known as Hot Reloading) for React components.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •