Skip to main content

All Questions

Tagged with
5 votes
1 answer
20k views

Redux Web Extension - Uncaught TypeError: Invalid attempt to spread non-iterable instance

I am working on a React application that also uses the Redux dev tools extension. It is running on Node and used Webpack to compile. I recently upgraded my application to Webpack 4 from 2. The ...
Nigel Finley's user avatar
0 votes
1 answer
2k views

Hiding secret key in webpack bundle.js from redux-persist-transform-encrypt

I am using redux-persist in combination with redux-persist-transform-encrypt to encrypt my redux store in localstorage. So I implemented the encryption like so: const encryptor = createEncryptor({ ...
Shawn's user avatar
  • 2,425
2 votes
1 answer
2k views

Why does this React App initialize twice?

I've build a react app using webpack, react-router, redux, and redux-saga. When I refresh the app initializes twice. I'm using websockets to communicate with a go server and have a saga that is ...
zero_cool's user avatar
  • 4,160
0 votes
1 answer
39 views

webpack builds html but doesn't display any javascript

So i'm mostly new to javascript and current i'm having a problem displaying the fruits of our labor. We have a webpack build from our React/Redux and although it displays css it doesn't contain any ...
demonintherough's user avatar
0 votes
1 answer
249 views

Webpack-hot-middleware/client module not found

So im getting this error in the terminal ERROR in multi ./client/src/index.js webpack-hot-middleware/client Module not found I am not sure why because in my project this file is there. I tried the npm ...
mrAnderson's user avatar
1 vote
1 answer
140 views

Unable to transpile decorators(Higher Order Components) via webpack/babelrc

Following are my configs: Package.json: "dependencies": { "axios": "^0.18.0", "babel-preset-env": "^1.7.0", "extract-text-webpack-plugin": "^4.0.0-beta.0", "node-sass": "^4.7.2", ...
Nevin's user avatar
  • 3,168
0 votes
2 answers
2k views

Webpack4|Redux|React Issue - You may need an appropriate loader to handle this file type

I am trying my hands on Webpack4/Redux/React and getting the following error for my sample application: ./src/index.js] 210 bytes {main} [built] [failed] [1 error] + 13 hidden modules ...
Manchanda. P's user avatar
0 votes
1 answer
296 views

Build is successful with Heroku but an application error

Allow me to explain. I use Heroku for enabling my online application (React/Redux). So, my build has been done correctly, but when I viewed the log I found this error: at=error code=H10 desc="App ...
KolaCaine's user avatar
  • 2,147
-1 votes
1 answer
158 views

Bundle.js file isn't getting generated by webpack for production build

I'm unable to generate the bundle.js file. This is my webpack.config.js. module.exports = { entry: [ './src/index.js' ], output: { path: __dirname, publicPath: '/', filename: '...
Dhrubesh's user avatar
2 votes
1 answer
134 views

Sharable component in multiple react apps

What is the best way to develop two independent react apps by using sharble components ? Ex. App1 and App2 App1 would conatains index.html app1.js App2 would conatins index.html app2.js
Rohit Dubey's user avatar
0 votes
1 answer
49 views

using webpack to compile redux example todos,but exists error [duplicate]

This will exist error:ERROR in ./src/reducers/todos.js Module build failed: SyntaxError: Unexpected token (15:13) case 'TOGGLE_TODO': return state.map(todo => (todo.id === action.id) ?...
Anthony.SYX's user avatar
0 votes
1 answer
42 views

Sign up not communicating with api properly with react-redux

I am trying to follow a thinkster tutorial that creates a medium clone. There are a variety of languages and frameworks you can choose to do this. I chose react's pathway. Things are starting to ...
Rob's user avatar
  • 63
0 votes
1 answer
376 views

Switch Webpack Entry point on switching to new Route

I have a running React Application containing two routes "/app" "/dashboard" Also I have two entry points in webpack entry: { a: 'browser.app.jsx', b: 'browser.dashboard.jsx' } I need to ...
Ahmad Raza's user avatar
10 votes
3 answers
13k views

Routing doesn't work in react when typing url in browser

I have the following routes in the below class: import { Router, Route } from 'react-router-dom'; class App extends React.Component { constructor(props) { super(props); } ...
Ole EH Dufour's user avatar
17 votes
4 answers
32k views

ReactJS APP in Heroku "Invalid Host header" HOST configuration?

I am trying to put my React app on the Heroku. The whole project include one API (express) and one client (ReactJS). I have put my API on heroku. But when I put my client on Heroku, it shows build ...
fourth's user avatar
  • 639

15 30 50 per page
1
3 4
5
6 7
16