react-refresh-webpack-plugin
react-refresh-webpack-plugin copied to clipboard
A Webpack plugin to enable "Fast Refresh" (also previously known as Hot Reloading) for React components.
Fix:  To: 
Sorry that I'm not able to clearly state what happened in the issue title. ## Reproduce 1. Clonse https://github.com/otakustay/issues/tree/react-refresh-plugin-esm branch 2. `git checkout react-refresh-plugin-esm branch` 3. `pnpm install`, you need...
In our project, we have a lot (around 400) of - generally unproblematic - circular dependencies: ``` src/hooks/firstHook.js src/hooks/secondHook.js (uses first hook, imported from src/hooks/index.js) src/hooks/index.js (re-exports both hooks) ```...
The overlay is currently hiding components that are meant to caught specific errors (for instance network errors, like 404). While I've seen mentioned that error boundaries should be used sparingly...
Hey, I've tried integrating react fast refresh with `swc-loader`, and the result is that if I add `new ReactRefreshPlugin()` to the `plugins: []` list in webpack, `swc-loader` is _dog slow_...
I have mutiple entries, such as pageA and pageB. They render in different html. So I don't want to pageB get refresh when I was edit components used in pageA.
hey the https://github.com/jantimon/favicons-webpack-plugin is only generating the full favicon during production mode by default. so if you set `mode: "development"` it will not be active unless you overrule that setting....
(node:50522) UnhandledPromiseRejectionWarning: Error: Cannot find module 'webpack/lib/ParserHelpers' Require stack: - /Users/ken/Desktop/develop/MicroFE/emp-workspace/node_modules/@pmmmwh/react-refresh-webpack-plugin/src/index.js - /Users/ken/Desktop/develop/MicroFE/emp-workspace/packages/emp-cli/webpack/config/plugin.js - /Users/ken/Desktop/develop/MicroFE/emp-workspace/packages/emp-cli/webpack/config/common.js - /Users/ken/Desktop/develop/MicroFE/emp-workspace/packages/emp-cli/helpers/project.js - /Users/ken/Desktop/develop/MicroFE/emp-workspace/packages/emp-cli/scripts/dev.js - /Users/ken/Desktop/develop/MicroFE/emp-workspace/packages/emp-cli/bin/emp.js at Function.Module._resolveFilename (internal/modules/cjs/loader.js:794:15) at Function.Module._load (internal/modules/cjs/loader.js:687:27) at Module.require (internal/modules/cjs/loader.js:849:19)...
Ref: https://github.com/facebook/react/issues/16604 This issues tracks what is missing before this plugin attains "feature-parity" with the RN implementation and is representative of the "fast-refresh" branding. ## Tasks - [x] Error Recovery...
While CircleCI currently provides `parallelism` for open source projects which allow splitting of tests into chunks within a job, our tests are heavily skewed (`conformance` taking way more time than...