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
preloadedState when injecting asyncReducers
How is it possible to have both a preloadedState (hydrating from server) and inject reducers dynamically?
In react-boilerplate or How to dynamically load reducers for code splitting in a Redux application? there is the concept of reducers which are…

Kevin Farrugia
- 6,431
- 4
- 38
- 61
0
votes
1 answer
React-boilerplate, reducer sending me a object instead of my default initialState?
I'm not getting my initialState while ajax requests in the pending?
Here is the snapshot of both actual data and reducer initialstate.
this.props of my application
here is my reducercode:
/*
*
* MainPage reducer
*
*/
import { fromJS }…

kropani
- 19
- 8
0
votes
2 answers
heroku node deployment(react-boilerplate) sh: 1: node-pre-gyp: not found error
I'm getting error when deploying react-boilerplate on heroku with feathers, nodejs, mongodb, react. I specified up to date versions in package.json, and tried building with both npm and yarn but both fail. I appreciate your help!
"engines": {
…

Seunghun Sunmoon Lee
- 469
- 1
- 8
- 15
0
votes
1 answer
react-boilerplate yarn start:prod This site can’t be reached localhost refused to connect. http://localhost:3000 => https://localhost/
https://github.com/react-boilerplate/react-boilerplate
Description
After running yarn run build,
yarn start:prod
It says it is running on the terminal window, however,
when i go to http://localhost:3000 the url suddenly changes to =>…

Seunghun Sunmoon Lee
- 469
- 1
- 8
- 15
0
votes
1 answer
Load Async reducers and sagas in react-boilerplate with React router v4
I am looking at migrating a project to the latest react-boilerplate version and many modules have changed. I am having trouble with React router v4 to play with my reducers and sagas. I looked at Dynamically load redux reducers with react router…

webmedia
- 341
- 1
- 3
- 8
0
votes
1 answer
Updating a array inside object using immutableJS is not working
I am trying to add an object inside an array which is nested inside a object. The following is my structure
{
id:'1',
name:'test',
contents:[
{fruit:'banana'}
{fruit:'apple'}
]
}
Now i am just trying to update the…

Sijan Shrestha
- 2,136
- 7
- 26
- 52
0
votes
1 answer
Removing unnecessary modules from react-boilerplate
I installed react-boilerplate and noticed hundreds of node modules that I don't actively use. Is there any way to remove unused project? or are those dependencies of dependencies that get all installed at root level in node_modules and if so, is…

webmedia
- 341
- 1
- 3
- 8
0
votes
1 answer
react-router-dom config for sidebar
i'm creating app based on react-boilerplate, and then i add sigma dashboard template for the homepage. Let's say i have 4 page :
Login
Homepage
User
Not found page
And my route code is like :
return (
…

cumibulat
- 434
- 3
- 6
- 22
0
votes
1 answer
console.log(..) of 'reselect' selector displays f()
I'm using react-boilerplate that uses reselect for reading the redux state and maps it to props. I am trying to read the redux state outside a react component (say in custom function defined in myUtil.js).
There is selector in selectors.js:
const…

codemasorete
- 51
- 3
0
votes
1 answer
How to render array to list using reactjs redux-saga
Hello this few days I am trying to render list of products using redux-saga. I am using react-boilerplate as my structure. I have two components ProductsList and ProductsItem:
ProductsList.js
function ProductsList({ loading, error, products }) {
…

PrEto
- 395
- 2
- 7
- 23
0
votes
1 answer
React Boilerplate's HMR very slow when editing dependency library (node module)
I'm using React Boilerplate which utilizes HMR (Hot Module Reload) in a dev environment.
However, I also have a custom component library which I load as a dependency. It has about 20 React components or so. The library is a UMD module which I load…

Mr.M
- 100
- 6
0
votes
1 answer
Q React boilerplate how to remove .bin extension from the emitted .htaccess.bin file
I'm using react boilerplate and when I run the build script "npm run build" npm executes the following command
webpack --config internals/webpack/webpack.prod.babel.js --color -p --progress --hide-modules --display-optimization-bailout
This builds…

metamp_mvc
- 65
- 10
0
votes
2 answers
React Redux routing to different containers after login according to user type (role)
I am looking for solution how to route user after login according to user type. I am using React + Redux. My router looks like:
export default function App() {
return (

PrEto
- 395
- 2
- 7
- 23
0
votes
2 answers
React boilerplate - changing API url at runtime
I'm using react-boilerplate as the base for my project.
I'm currently defining my API url in webpack.base.babel.js like so:
new webpack.DefinePlugin({
'process.env': {
NODE_ENV: JSON.stringify(process.env.NODE_ENV),
…

johnwick0831
- 918
- 1
- 12
- 24
0
votes
1 answer
How to integrate react boilerplate into existing jquery application?
I am trying to port a modular jquery application to react using the boilerplate. I want to move module by module.
What is the best way to integrate a boilerplate application into an existing modular jquery application?
Latest react and boilerplate.…

rkralston
- 386
- 1
- 5
- 20