[Meta] Releasing this Plugin as "Fast Refresh" capable
See original GitHub issueRef: 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
- Error Recovery
- Module Import Errors
- Static Imports
- Dynamic Imports (Lazy)
- Add/Remove Imports
- Concurrent Mode
- Syntax Errors
- File Level
- Component Level
- Life-cycle Method Level
- Function Return Level
- Runtime Errors
- Rendering Errors
- React-related Errors
- Root Mounting Errors (Full Refresh)
- Error on Initial Mount
- Accidental Root Unmount
- Module Import Errors
- Component Auto-Registration
- Function Components (via Babel plugin)
- Loader would also pickup false-negatives from the plugin
- Class Components (via packaged loader)
- Mutating Exports (add/remove/change)
- Function Components (via Babel plugin)
- Error Box Integration (
iframe
) #3- Compilation Errors (via Socket)
- Renders Error Message
- Dismissal after Error Recovery (via tracking of Hot status)
- Runtime Errors (via
console
injection)- Renders Error Message (optional source trace? source-map support?)
- Dismissal after Error Recovery (via hook in
window
)
- Compilation Errors (via Socket)
- Webpack Advanced Integration
- Supports
__resourceQuery
(wait for WDS v4) #52 - Allow custom socket integrations (through
transportMode
or a plugin option with a similar footprint) #64 - ~Express-like middleware to cater advanced WDM users~
- Supports
- Webpack@5 Support #123
- Correctly detects
context.hot
- Update hook footprints to match new object types
- ~Detects and support multi-compilers and child-compilers (Obsolete for now, this plugin won’t break in those scenarios)~
- Better integration with the new modular HMR system #89
- Release after Webpack@5 hits
beta
stage (0.4.0-beta.6+
)
- Correctly detects
- Tests
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:40 (18 by maintainers)
Top Results From Across the Web
Hot reload for plugin development? - dev - Discourse Meta
I'm talking here about refreshing the browser, and whether hot reload is available to avoid having to do that. It's the browser refresh...
Read more >The EOS Online Subsytem (OSS) Plugin | Unreal Engine 4.27 ...
EOS Plus is an experimental OSS plugin that combines the features of the EOS SDK with those of another online platform (such as...
Read more >React Native · Learn once, write anywhere
Fast Refresh. See your changes as soon as you save. With the power of JavaScript, React Native lets you iterate at lightning speed....
Read more >Meta Box Changelog
This page shows the changes and updates for the free Meta Box plugin. ... This fix is for MB Blocks extension where updating...
Read more >Highlights - create-react-app - Breword 文档集合
Fast Refresh #8582; React 17 support ... Switch to the Workbox InjectManifest plugin #9205; Now its own template so it can be released...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey all - Thanks for participating in the conversation 😺! I am happy to announce
v0.1.0
is out now 🎉Roadmap to v1 Stable
Core
Testing
Bundling
Overlay
Ecosystem
Release