Greg Ziółkowski
Greg Ziółkowski
@tyxla, thank you so much feedback. I addressed all of it with [9a74479](https://github.com/WordPress/gutenberg/pull/43141/commits/9a7447986fb212f9a5bfb528be584b9dc6e91d43).
@cliffordp, CSS support (https://github.com/WordPress/gutenberg/issues/14801) and HMR is something that we really want to have in wp-scripts. Gutenberg uses a different process for CSS handling that is very specific to how...
I see that React Fast Refresh is the better way to achieve the same goal. Related tweet: https://twitter.com/addyosmani/status/1251967793479606272 > React Fast Refresh is coming to the web! > > ⌨️...
More about React Fast Refresh from React Status newsletter issue 185 (https://react.statuscode.com/issues/185): - https://dutzi.party/react-fast-refresh/ - https://stackoverflow.com/questions/59085281/difference-between-hot-reload-and-fast-refresh-in-react-native
React Fast Refresh was enabled by default in Next.js v9.4: https://nextjs.org/blog/next-9-4#fast-refresh.
It looks like multiple entry points, that we have to support (it's documented in `@wordpress/scripts`), aren't working correctly as filed in the webpack plugin repository in https://github.com/pmmmwh/react-refresh-webpack-plugin/issues/88.
There is PR opened that looks very promising: #23013 🎉
I started looking at integration with `@wordpress/scripts` as documented in https://github.com/WordPress/gutenberg/pull/28273. So far no luck with making it work. I tried `--watch` flag only. It might require some webpack dev...
I landed https://github.com/WordPress/gutenberg/pull/28273 today. It works with the `start` command from `@wordpress/scripts` when the `--hot` flag is passed. In addition to that you will need either the Gutenberg plugin activated...
> Would love to see some participation and help on the https://github.com/WordPress/gutenberg/issues/16209 (there's a lot that got done there already) and https://github.com/WordPress/gutenberg/issues/8352! I wanted to share an update that we...