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
4
votes
0 answers
Refused to execute JS chunk because of invalid MIME Type issue in Reactjs
Issue statement:
Refused to execute script from 'https://something.test.in/21.13888aeefb423ea1abff.chunk.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
Possible package responsible for…

Dhara Vihol
- 602
- 5
- 26
4
votes
3 answers
React boilerplate : Maximum call stack size exceeded
I'm trying to create react-boilerplate but got bellow error.
npm ERR! Maximum call stack size exceeded
npm ERR! A complete log of this run can be found in:
npm ERR! /home/dev1/.npm/_logs/2019-02-05T10_12_55_340Z-debug.log
npm ERR! code…

Vipul Solanki
- 313
- 1
- 2
- 19
4
votes
1 answer
Pass parameters from the root saga to the action dispatched
I have a simple saga. The Idea is to listen the action REQUESTS_OWNERSHIP_EDIT to be dispatched from the store and run submit submitOwnerships(ownerships) that is supposed to submit the ownership params to the server.
I'm confused about how to get…

TWONEKSONE
- 3,918
- 3
- 19
- 26
4
votes
0 answers
Make sure saga is injected before actions are dispatched
I'm having some bad time with saga injection in my app, sometimes saga is loaded before the action is dispatched and everything works, sometimes the action is fired and no saga effect is triggered.
I'm using pretty standard code, here's my…

Dario
- 6,152
- 9
- 39
- 50
4
votes
1 answer
react-boilerplate sagas for new route
In the sample sagas of react-boilerplate, sagas are exported as an array:
export function* defaultSaga() {
}
export default [
defaultSaga,
];
The default is then injected in routes.js:
...
injectSagas(sagas.default);
...
However, when I added…

dork
- 4,396
- 2
- 28
- 56
4
votes
3 answers
Module parse failed: error: semantic/dist/semantic.min.css Unexpected character '@' (11:0)
I use the current version of react-boilerplate (which uses webpack) and installed Semantic-UI-React like described in the official docs http://react.semantic-ui.com/usage
When I start the server I get:
Server started ! ✓
Access…

StandardNerd
- 4,093
- 9
- 46
- 77
4
votes
3 answers
Redux-Saga is running twice for a single action
I have a saga to handle like requests. The user clicks a button to toggle the liked status of a photo.
The saga listens for an action of type SUBMIT_LIKE. My problem is that the submitLikeSaga is running twice for each SUBMIT_LIKE action.
e.g. In…

sheepdog
- 625
- 5
- 19
4
votes
1 answer
How do I fix `npm install` errors with react-boilerplate?
When I run npm install from a react-boilerplate project several of my 3rd party modules give off errors like you see below. All these modules work fine in other node projects, just not in react-boilerplate. Does anyone know how to fix these?
ERROR…

Jason Leach
- 3,889
- 7
- 37
- 54
3
votes
1 answer
How to check installed package versions of deployed React application?
We used react-boilerplate to create and application. And we've used material-ui as the UI library and hosted on Azure IIS.
Due to a recent material-ui package release, somethings are breaking on local environment and not in the deployed application.…

Thidasa Pankaja
- 930
- 8
- 25
- 44
3
votes
4 answers
Adding an .env file to React Project not working
I am trying to add .env file and variables but I am unable to access any variable. I am using React Biolerplate Code.
I am following this React Docs File.
I have added one .env file in my root folder like…

Nilay Singh
- 2,201
- 6
- 31
- 61
3
votes
1 answer
Proper Way in Fetching Initial Data in React Boilerplate Container
I am new with React Boilerplate and am using containers and saga to fetch initial data of a page. I am faced with 2 problems when implementing this.
UsersPage\index.js
// imported all sagas, etc
export function UsersPage({
dispatch,
usersPage,
…

Heru S
- 1,283
- 2
- 17
- 28
3
votes
2 answers
How to create electron auto updates using private github repository?
The update is being detected but I'm unable to download it to my app.
I get the following error:
Status: Update Available
Status: Error in auto-updater. Error: Cannot download…

shady
- 33
- 2
- 6
3
votes
1 answer
Can not provide/test saga when using a reselect selector
I've been writing some redux-saga tests using redux-saga-test-plan but having some issues when trying to provide some selects to fake some values to the expectSaga test. It seems as though the provider isn't replacing our reselect function call with…

LocalMagic
- 107
- 1
- 7
3
votes
1 answer
React-Boilerplate default tests throw TypeError: Cannot read property 'store' of null
I'm using React-Boilerplate to write an application and I want to test connected react components. The default "npm run generate" script generates a component/container with default tests. The index.test.js script fails by default with the following…

Jason1
- 31
- 3
3
votes
0 answers
react webpack build tool for multiple brand
I am using react boilerplate for my project. I am wondering how can I use the same codebase for multiple brand? Thing is like that :
multiple brand might have multiple color, different text, and the
functionality might be different.
The scenario…

oxvoxic
- 325
- 2
- 4
- 19