Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pmmmwh/react-refresh-webpack-plugin

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pmmmwh/react-refresh-webpack-plugin

An **EXPERIMENTAL** Webpack plugin to enable "Fast Refresh" (also previously known as _Hot Reloading_) for React components.

  • 0.5.15
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6.4M
increased by1.77%
Maintainers
1
Weekly downloads
 
Created

What is @pmmmwh/react-refresh-webpack-plugin?

The @pmmmwh/react-refresh-webpack-plugin npm package enables hot reloading of React components in webpack without losing their state. This is particularly useful during development as it allows developers to see changes in real-time without a full page reload.

What are @pmmmwh/react-refresh-webpack-plugin's main functionalities?

Hot Module Replacement (HMR) for React components

This feature allows React components to be updated in the browser without a full page reload, preserving their state. The code sample shows how to include the plugin in a webpack configuration.

const ReactRefreshWebpackPlugin = require('@pmmmwh/react-refresh-webpack-plugin');

module.exports = {
  // ... other webpack config settings ...
  plugins: [
    // ... other plugins ...
    new ReactRefreshWebpackPlugin(),
  ],
};

Other packages similar to @pmmmwh/react-refresh-webpack-plugin

Keywords

FAQs

Package last updated on 03 Jun 2024

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc