FLM / symfony-webpack-react

Boilerplate project based on Symfony Standard, with Webpack and React added.
24 stars 8 forks source link

Hot reload does not work for stateless components #1

Open bbousba opened 8 years ago

bbousba commented 8 years ago

Hi,

I just installed the projet and launched it with

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 commented 8 years ago

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

tomat commented 8 years ago

Seems there is no support for hot reloading stateless components in babel-plugin-react-transform, see https://github.com/gaearon/babel-plugin-react-transform/pull/85

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