gaearon / gaearon/react-hot-loader
Hot boundary Webpack loader
Open
- Dominant language
- JavaScript
- Stars
- 12.2k
- Forks
- 775
- PR merge metrics
- No merged PRs in 30d
Description
> based on https://github.com/facebook/react/issues/16604#partial-timeline
create a webpack plugin which will inject `hot` code to the `included` files, for example `components/**/index.js`.
- [ ] - hooks should be reset only inside enclosed boundary (read `generation` from a context`)
- [ ] - (prevent false positives) only files with all exports matching react component patterns.
- [ ] - Throw error in case of wrong exports in an included location.
- [ ] - Enable dry run - check which exports would be rendered as react components.
- [ ] - (lazy interface) only for files with a single default export
Contributor guide
Assessment
This issue has not been assessed yet.