Michael Mok

Results 123 comments of Michael Mok

You mentioned that Webpack configuration is difficult to maintain - and that is kinda exactly why I'm pushing back on this. The matrix of build tools and setups we have...

I also think that there are other ways to approach this problem, each with different trade-offs (e.g. performance, ergonomics) - Add `react-refresh/babel` under a flag in `@babel/preset-react` - Move the...

> I came here from react-hot-loader, and installation steps discourages me since it forces my configuration to check whether is production or development build. > > In react-hot-loader it's written:...

Hi, can you please state the version of: 1. the plugin; 2. Webpack; Providing me just the error stack trace is not helpful to say the least, because there is...

Did you include the `webpack.HotModuleReplacementPlugin` in your Webpack configuration? If not, this plugin won't work. With `webpack-dev-server` you can use either of the `hot`/`hotOnly` options, and with other development means...

> ![image](https://user-images.githubusercontent.com/3890513/86000639-5ed65700-ba40-11ea-9aeb-2c0684979cc4.png) > when remove exposes it work! The issues you're facing is due to a bug in [email protected]. if you use webpack master, these issues goes away. If they...

@ScriptedAlchemy it seems that on full refresh HMR will throw (but it actually does not affect modules updating ...) I've tested with `basic-host-remote` with the following changes: `package.json` for both...

I won't have time to test module federation this week most likely, but from what I see in the screenshot it is some sort of error within Webpack's JSONP HMR...

From #195, reported by @shaodahong > Report: [shaodahong/module-federation-react-refresh-demo](https://github.com/shaodahong/module-federation-react-refresh-demo) > > if change some text trigger refresh, console log some error > > @pmmmwh @ScriptedAlchemy > > ![image](https://user-images.githubusercontent.com/14831261/91957723-002ba300-ed39-11ea-9770-43a9ccec5c65.png)

> @pmmmwh What needs to happen in order to get this working with webpack 5? I haven't spent much time looking into the changelog there. @maisano It has nothing to...