Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hot reload does not work for stateless components #1

Open
bbousba opened this issue Apr 23, 2016 · 2 comments
Open

Hot reload does not work for stateless components #1

bbousba opened this issue Apr 23, 2016 · 2 comments

Comments

@bbousba
Copy link

bbousba commented Apr 23, 2016

Hi,

I just installed the projet and launched it with

  • npm start on 127.0.0.1:3100
  • php bin/console server:run on 127.0.0.1:8000

And when I go to url http://localhost:8000/app_dev.php/page and just change Component text and/or CSS and then save the change with my IDE, but browser isnt reloading.

@ghost
Copy link

ghost commented Apr 24, 2016

Can you add a screenshots of the console and network requests from the browser?

@tomat
Copy link
Contributor

tomat commented Apr 24, 2016

Seems there is no support for hot reloading stateless components in babel-plugin-react-transform, see gaearon/babel-plugin-react-transform#85

Should we revert the example components to stateful components until there's a better solution?

@tomat tomat changed the title Hot reload doesnt seem to work Hot reload does not work for stateless components Sep 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants