Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
861 views

X.jsx: import React from 'react'; function X() { return ( <svg width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/...
Gayathri Devi P's user avatar
3 votes
1 answer
472 views

Say I have a module foo and it's got some stuff in it: // foo/index.js export { default as SomeComponent } from './SomeComponent' export { someUtil } from './utilities' export const SOME_CONSTANT = 42 ...
Sasgorilla's user avatar
  • 3,290
1 vote
0 answers
420 views

I got the below error when deploying the code in cloud in local (windows) its working normally. When deploying in cloud I am getting following error: ** Uncaught Error: Cannot find module '/React/...
Akhil Kondaparva's user avatar
2 votes
0 answers
1k views

I'm building a React app and I keep getting the same errors that I just can't fix: Module not found: Error: You attempted to import server/reactweb/node_modules/react-refresh/runtime.js which falls ...
Grant Lingerfelt's user avatar
3 votes
0 answers
3k views

While trying to use moduleFederationPlugin from webpack, we are getting below error: ` Cannot read properties of undefined (reading 'call') originalFactory.call(this, moduleObject, moduleExports, ...
rohan jassu's user avatar
1 vote
3 answers
207 views

Sorry for the long question in advance but I have been struggling with this for some time To give some context of what I am trying to accomplish I am loading this table when my app loads And when I ...
LuisEnMarroquin's user avatar
12 votes
5 answers
18k views

We are currently working on a tiny app which just renders an external React component (external since it's npm installed). The purpose of this app is to just fetch some JSON configuration and pass ...
Newlukai's user avatar
  • 589
2 votes
1 answer
1k views

I have a typescript react project where I try to add the react-refresh-webpack-client and get this error: my webpack config: import HtmlWebpackPlugin from 'html-webpack-plugin'; import UglifyJsPlugin ...
Omer Dital's user avatar
1 vote
1 answer
2k views

Uncaught Error: React Refresh runtime should not be included in the production bundle. By default, when you do a npm run build, it changes the environment to 'production'. After looking at react-...
DDT's user avatar
  • 424
2 votes
0 answers
606 views

Issues It is loading the entire page Operating System: macOS Big Sur 11.2 Node Version: v14.15.4 NPM Version: 6.14.10 webpack Version: ^5.19.0 webpack-dev-server Version: ^4.0.0-beta.0 Browser: ...
ridermansb's user avatar
  • 11.1k
1 vote
0 answers
250 views

I'm using https://github.com/pmmmwh/react-refresh-webpack-plugin and it works good with react components. But sometimes I update a code that is not about a component directly and then I only see a ...
Márius Rak's user avatar
  • 1,461
1 vote
1 answer
1k views

I use React with Snowpack and the react-refresh plugin. After a change, the snowpack dev server recompiles correctly and the browser receives an HMR update signal - but the content is not reloaded, ...
stoniemahonie's user avatar
0 votes
1 answer
964 views

I tried to search here/Google/GitHub but I'm not even sure of how to look for this. No matter what words I use they will always show me results of how to implement HMR. But that's not my issue. I just ...
italodeandra's user avatar
4 votes
0 answers
93 views

There is no much info about new react-refresh, and I'd like to start using it. There is no information about how to migrate from react-hot-reload.
Misiur's user avatar
  • 5,393