You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This package is awesome!
I would like to apply React Hot Loader in my project. But I config same as you but still not working.
Tell me if I missing
webpack.config.js
// about plugins// 1st Remove new webpack.HotModuleReplacementPlugin(),// 2nd about devServerdevServer: {hot: true,inline: true,},// 3rd about modulemodule: {rules: [//...{test: /\.(ts|tsx)?$/,include: appPath.appSrc,use: [{loader: 'babel-loader',options: {plugins: ['react-hot-loader/babel']}},{loader: require.resolve('ts-loader'),options: {// disable type checker - we will use it in fork plugintranspileOnly: true,},},],},],
App.js
// 4th import hot
export default hot<any>(module)(AppConfig)
The text was updated successfully, but these errors were encountered:
This package is awesome!
I would like to apply
React Hot Loader
in my project. But I config same as you but still not working.Tell me if I missing
webpack.config.js
App.js
The text was updated successfully, but these errors were encountered: