Questions tagged [react-boilerplate]

React Boilerplate - A highly scalable, offline-first foundation with the best developer experience and a focus on performance and best practices.

219 questions
0
votes
1 answer

best practice using reducers from of other components redux-toolkit react-boilerplate

I'm rather a python Guy but I've been trying react for some. This whole react ecosystem evolves so fast that after a few months of break I cannot recognize the word anymore :) Trying to write simple geo mapping app: using:…
morf
  • 125
  • 11
0
votes
1 answer

Electron & React-BoilerPlate white screen

I have this app that works perfectly fine in Dev mode but not in Production. My folder structure are (build,dist,node_modules,public,src). build dist node_modules public Main.js index.html src index.tsx In my package.json { "name":…
Mark Andog
  • 109
  • 1
  • 10
0
votes
1 answer

Adding redux-injectors brakes the createStore.apply function

I am trying to add the library redux-injectors from react-boilerplate in my project. However, I get the issue in the image below. My file configureStore is presented below, you can also find it in this repository:…
0
votes
0 answers

@babel/register does not seem to transform my code into es6, react

I am trying to make SSR version of the react-boilerplate so I need to import React component to the node. However, @babel/register does not seem to transform code based on my babel.config.js server/index.js file require('frontendMiddleware.js') and…
fiddlest
  • 1,262
  • 2
  • 17
  • 42
0
votes
1 answer

npm run build is not including /public/images/images.png

I am just testing the React Boilerplate with Material UI, and I am using some png images (stored in /public/images/). If I npm start the project load those images like a charm, but once I type in npm run build the builded project does not load the…
assembler
  • 3,098
  • 12
  • 43
  • 84
0
votes
3 answers

Array not mapping

I have an array and want to display each item. But map funtion does not work. export default function SearchField() { const renderResults = () => { console.log('array: ', array); // array is consoled return array.map(element => { …
vytaute
  • 1,260
  • 4
  • 16
  • 36
0
votes
1 answer

React Redux action is being called before init

I am pretty new to Redux and the whole Redux-Saga thing and wanted to use React-Boilerplate to try a small project that basically just makes an API call and iterates over the data. And I currently have a problem I've been stuck at for hours. Maybe…
Gabsii
  • 448
  • 7
  • 20
0
votes
1 answer

Module not found: Can't resolve './.htaccss' after installing React-boilerplate Dandelion starter project

I have downloaded Dandelion starter-project and decompressed it on a local folder. I ran: npm i npm run build:dll and then npm start then it complains: > dandelion_pro@1.6.1 start /home/......./dandelion/starter-project > cross-env…
assembler
  • 3,098
  • 12
  • 43
  • 84
0
votes
0 answers

IOS 13.3 - it refreshes the pages when clicking the back button

need help. I'am using react boiler plate to create pages, just a problem, in IOS 13.3 (iphone), it refreshes the pages when clicking the back button. I need to retain the pages when clicking the back button without refreshing the page. Thanks
user3928201
  • 125
  • 1
  • 2
  • 8
0
votes
1 answer

Boilerplate not starting in Windows 10 + Ubuntu 18.04

I'm use: node: v10.16 npm: 6.9 react-boilerplate@4.0.0 start H:\count cross-env NODE_ENV=development node server 'cross-env' is not recognized as an internal or external command, operable program or batch file. npm ERR! code ELIFECYCLE npm ERR!…
0
votes
0 answers

React Boilerplate unable to fix click event

I am trying to implement one functionality in React Boilerplate 1: https://github.com/react-boilerplate/react-boilerplate I have downloaded the code and run this command: npm run setup And it generated default homepage and feature page and then I…
Nilay Singh
  • 2,201
  • 6
  • 31
  • 61
0
votes
1 answer

Error npm run setup "ERR! code ELIFECYCLE"

After cloning the react boilerplate when I ran the npm run setup its show error. PS D:\React\react-boilerplate> npm run setup > react-boilerplate@4.0.0 presetup D:\React\react-boilerplate > npm i chalk shelljs > pngquant-bin@5.0.2 postinstall…
0
votes
2 answers

How to refer components without typing the complete relative path?

src components HomePage Calendar.js containers HomePage index.js I'm just using the recommended folder structure in React(Presentation + Container). While I was working on react-boilerplate folder…
Henok Tesfaye
  • 8,287
  • 13
  • 47
  • 84
0
votes
1 answer

Show/hide a component using event handle in redux-saga

I'm trying to build a redux-saga program. The flow is that when I click Test button, the text "Click button to hide" will be disapeared. I dont know what to handle next and how. Please help me. Thanks in advance! Here is my incompleted…
Ben
  • 75
  • 1
  • 14
0
votes
1 answer

Configure antd theme in react-boilerplate

I am trying to configure antd theme in react-boilerplate. I saw the issue 2027 in react-boilerplate repo. This is exactly what I want but I tried the given configuration in the accepted answer and it doesn't work for me. In vanilla react-boilerplate…
Sood
  • 121
  • 1
  • 2
  • 14