React Boilerplate - A highly scalable, offline-first foundation with the best developer experience and a focus on performance and best practices.
Questions tagged [react-boilerplate]
219 questions
0
votes
1 answer
"Cannot read property 'requesting' of undefined" when passed custom props to component
I got an issue may cause from react-boilerplate Or "redux-form/immutable", wish someone can help me out.
I tried to put some custom props into Form component and this will print out messages of error when submit.
Here is my code:
import React from…

Son Dang
- 153
- 2
- 11
0
votes
0 answers
Error: Cannot find module 'react' while loading react node module
I have a react component which I needed to load as a node module in another webpack2 project. Using babelify I converted the react component code to normal javascript code. Following is config I provided to convert.
browserify: {
dist: {
…

thecodejack
- 12,689
- 10
- 44
- 59
0
votes
1 answer
How to use reselect in react-boilerplate
I am using react-boilerplate
, and I am building a small kind of project so that I can understand the use of selectors.
I watched this video which I enjoyed a lot and I believe I have a clear understanding of where I should use selectors.
So what…

Paschalidis Christos
- 432
- 4
- 13
0
votes
1 answer
How should I implement websocket in redux-saga?
What should be my approach towards implementing websocket using boilerplate and saga, I would like to connect the websocket during starting of the application and reconnect when connection drops.
I am think of using fork for sending and receiving…

Maru
- 41
- 2
- 7
0
votes
1 answer
Redux: Import new reducers and feed them new state on route change
The goal
I want to change reducers (and feed them new state) when the route changes.
Current Attempt
I have a route set up with a slug (/components/:slug) that is handled by my ComponentPage reducer. This reducer notices that the route changed (via…

aminimalanimal
- 417
- 2
- 6
- 13
0
votes
2 answers
Integrating antd with react-boilerplate
I added this to the production config:
babelQuery: {
plugins: [["import", { libraryName: "antd", style: true }]],
},
but I'm still getting errors like ReferenceError: Menu is not defined. Am I missing something? Everything works fine locally…

userinev
- 75
- 1
- 5
- 16
0
votes
2 answers
Dynamic Role Based Routing (React-Router)
I am building an e-commerce related product and there are two types of users (customer & seller). Both types of user have their own homepage (totally different to each other). Now I want to route / on customer homepage if customer is logged-in or to…

John Mcculley
- 11
- 1
- 6
0
votes
1 answer
Where would I add existing JS Code to react-boilerplate
I spent a while toying around with react-boilerplate, reading the docs, searching the web etc. I built up some simple components and containers no problem.
I have a large amount of code that creates DOM nodes and returns them using javascript. For…

Iannazzi
- 1,348
- 2
- 18
- 27
0
votes
1 answer
Webpack changing file in script tag
I'm new to ReactJS and Webpack, I'm using react-boilerplate and I am trying to add a template to the boilerplate which has it's own set of external libraries.
Problem that I'm facing is every time I am trying to include a tag that links to these…

Akshay Singh
- 313
- 1
- 5
- 16
0
votes
1 answer
Call React Redux Toastr within a saga
I'm using React Boilerplate with React Redux Toastr and I want to be able to call a toastr using React Intl's messages.
I've tried to call it within a componet, but as toastr is making state updates, Reacts warns me about that as an anti-pattern. I…

Tomás Francisco
- 791
- 3
- 7
- 15
0
votes
1 answer
Missing files when deploying react-boilerplate project to IIS
I've successfully generated the production files and run from the node prod server (built into react-boilerplate). When I run the project from the IIS-configured URL, http://localhost/abc/, I get console errors:
GET…

devly
- 35
- 1
- 6
0
votes
0 answers
redux-sagas : cancel(watcher) throw error : uncaught at getLogin Generator is already running . Is there a way to disable this error?
I have a bug with redux saga cancel effect.
I have the following redux store in my reactjs application :
/*
* The reducer takes care of our data
* Using actions, we can change our application state
* To add a new action, add it to the switch…

Dimitri Kopriwa
- 13,139
- 27
- 98
- 204
0
votes
2 answers
Is there any "publicPath" option or similar in Webpack DllPlugin?
I'm using mxstbr/react-boilerplate that uses the great DllPlugin, but as the application is served by nginx under /admin, it fails with an 404 when trying to get the reactBoilerplateDeps.dll.js file from the root url (it hits…

Pablo Guillama
- 11
- 1
0
votes
2 answers
Reuse variables in all css files - using postcss-cssnext and specifically postcss-custom-properties with css-modules
I am using css-modules along with postcss-cssnext , and specifically its postcss-custom-properties feature
I am also using react-boilerplate (https://github.com/mxstbr/react-boilerplate/) and this very nice boilerplate comes with these modules used…

dowjones123
- 3,695
- 5
- 40
- 83
0
votes
1 answer
Syntax error in react-boilerplate after adding new dependencies
I have a hard time adding dependencies to a newly generated react-boilerplate project. I face this error:
node.js:122 Uncaught SyntaxError: Unexpected token :
(anonymous function) @ reactBoilerplateDeps.dll.js:340
__webpack_require__ @ …

Nikola Schou
- 2,386
- 3
- 23
- 47