Skip to content
This repository has been archived by the owner on Aug 21, 2020. It is now read-only.

Stateless functional component not hot reloading #134

Open
kirkstrobeck opened this issue Nov 3, 2016 · 1 comment
Open

Stateless functional component not hot reloading #134

kirkstrobeck opened this issue Nov 3, 2016 · 1 comment

Comments

@kirkstrobeck
Copy link

export default () => <div>hello</div>;

Works on reload, but wont change on save.

@a8568730
Copy link

a8568730 commented May 8, 2017

As geowarin commented on Jan 8, 2016

Yes, unfortunately, 
stateless functional components are not yet supported 
by the react transform plugin...

You can try React Hot Loader 3.
As gaearon commented on Apr 18, 2016

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants