Socket
Socket
Sign inDemoInstall

craco-fast-refresh

Package Overview
Dependencies
449
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    craco-fast-refresh

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


Version published
Weekly downloads
962
increased by19.35%
Maintainers
1
Install size
2.20 MB
Created
Weekly downloads
 

Readme

Source

⚠️ 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 vimcaw@gmail.com

🤝 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

FAQs

Last updated on 03 Sep 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc