Comments (6)
HMR doesn't work with pure components. );
We should remove the feature. Want to PR?
from react-pure-component-starter.
Can you give some context why HMR is not working with pure components?
Yes I will make a PR.
from react-pure-component-starter.
It's a known issue with HMR in general. Discussion is here.
from react-pure-component-starter.
React Hot Loader 3 supports functional components without destroying the state.
It supersedes both React Hot Loader and React Transform, and is built on lessons learned from both.
Check it out: gaearon/react-hot-boilerplate#61
from react-pure-component-starter.
@ericelliott I suggest we are waiting for React Hot Loader 3, right?
from react-pure-component-starter.
Note it might take quite a while to release as stable because I have no time to work on docs or website right now. Those are the blockers. See gaearon/react-hot-loader#243.
from react-pure-component-starter.
Related Issues (15)
- Simulating onClick when testing HOT 4
- Compatible with Redux Async pattern? HOT 3
- CircleCI build fail HOT 2
- Question HOT 3
- Latest ESLint changed rule names
- devServer.js config with environment variable HOT 15
- Windows is not supported HOT 4
- Dependency injection: just the React instance? HOT 1
- Webpack error "Unexpected token" HOT 8
- typeError after running `npm t` or `npm run watch`
- React instance injection ? HOT 5
- using enzyme and cherrio HOT 2
- Update babel
- Testing nested components HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-pure-component-starter.