Skip to main content

All Questions

Tagged with
1 vote
0 answers
955 views

Electron, React and electron-redux - Can't resolve 'fs'

I have an electron app created with electron-forge trying to utilize electron-redux v1.5.4. I'm also using @reduxjs/toolkit I have implented my mainRenderer and storeRenderer in the manner described ...
user2590928's user avatar
1 vote
1 answer
152 views

React-redux error when install webpack css-loader

Trying to use css-loader with react-redux and drop me some errors when put module in webpack.config.js (code): module: { rules: [ { test: /\.js$/, exclude: /node_modules/, ...
Coin_Slasher's user avatar
6 votes
2 answers
4k views

TypeError: Class constructor ESLintWebpackPlugin cannot be invoked without 'new'

I am building a React with Redux environment, and I keep getting this error message when I run npm start: ERROR in ./src/index.js Module build failed (from ./node_modules/eslint-webpack-plugin/dist/...
Weirdali's user avatar
  • 453
1 vote
1 answer
1k views

Restrict React route for the development only

Is there a chance I can restrict the React route, to work only in the development mode, and how to achieve this?
Shared User's user avatar
0 votes
0 answers
43 views

SSR functionality using ExpressJS with webpack + redux + sass

I need contribution to add Server-side rendering(SSR) functionality in the existing react application which has pushed to the GitHub repository. The preference is using express.js to add SSR. This ...
Muhammad Owais's user avatar
-2 votes
1 answer
644 views

Can't stop Redux actions from being logged in console

All of a sudden my console is cluttered with redux actions that have been dispatched. The place this originates from is webpack:///./src/backend/index.ts. There's an eventListener here on "...
Christiaan Kreeftmeijer's user avatar
0 votes
1 answer
2k views

Uncaught Error: Cannot find module 'redux'

I'm new to React.. This error came from Browser Console, while i'm trying to display it and also i'm working with django rest framework following the Tutorial here. While trying to implement redux ...
Kamar's user avatar
  • 332
0 votes
2 answers
185 views

There are 2 Reacts in one project

I am currently developing a React Web App and I suddenly started to get invalid hook call error. After a little research I found out that I have two copies of React. Even each css file has one more of ...
altF4's user avatar
  • 309
1 vote
1 answer
304 views

explicit render with hot module reloading?

I stumbled upon this and couldn't quite understand the rationale behind. const render = () => { const App = require('./app/App').default ReactDOM.render( <Provider store={store}> ...
Isaac's user avatar
  • 12.7k
1 vote
0 answers
112 views

Multiple webpack entry points for React redux project

I want to create page wise bundle for react redux project. How can we achieve this using webpack? For simple react application we follows following way for multi entry module.exports = { entry: { ...
Deepali Jadhav's user avatar
2 votes
1 answer
6k views

page refreshes when file is changed react

I have a react/redux app and when file changes and I hit save it refreshes the page and clears all redux data.I know t that I can persist redux data to localstorage. What I would love to know is that ...
sparrow2's user avatar
  • 147
1 vote
0 answers
1k views

React Hot Reload with Redux-Saga

I'm using React Hot Reloader on my project and recently noticed a strange behavior of the redux store in pairs with Hot Reloader. When I load the page for the first time, my page component calls an ...
Karen's user avatar
  • 1,359
0 votes
0 answers
148 views

Problem with Babel Loader for React and Redux

I am new and learning Redux for React with following an slightly outdated? tutorial. This is the index.js file that is supposed to combine our reducers: import { combineReducers } from 'redux'; import ...
user avatar
7 votes
1 answer
3k views

React.lazy not working in production mode

I have a react app running, and I wanted to add route based code-splitting using React.lazy to it. Currently my code is, import { PureComponent, cloneElement, Suspense, lazy } from 'react'; ... ...
Jay Ghosh's user avatar
  • 684
2 votes
0 answers
151 views

Bundle NPM package that connects to applications store

I've been fighting with webpack and loosing for the last day and a half and I give up, please help! So what I'm trying to do is create an NPM package that will be used in many of our sites. We have ...
Beau's user avatar
  • 51

15 30 50 per page
1
2
3 4 5
16