question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Meta] Releasing this Plugin as "Fast Refresh" capable

See original GitHub issue

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

  • 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
  • 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)
  • 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)
  • 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~
  • 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+)
  • Tests
    • Fast refresh conformance tests #93 #96
    • Fast refresh error recovery regression tests
    • Plugin unit tests #127

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:4
  • Comments:40 (18 by maintainers)

github_iconTop GitHub Comments

30reactions
pmmmwhcommented, Dec 6, 2019

Hey all - Thanks for participating in the conversation 😺! I am happy to announce v0.1.0 is out now 🎉

16reactions
pmmmwhcommented, Dec 31, 2020

Roadmap to v1 Stable

  • Core

    • Check support for React 17
  • Testing

  • Bundling

    • Stabilize Webpack 5 support #27
    • Stabilize Module Federation support #126
  • Overlay

  • Ecosystem

    • Ensure smooth integration in CRA
  • Release

    • Potential ES Build (Node 13+, ES2017+) - this benefits Webpack 5 users
    • Upstream into the React monorepo #75
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found