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
1
vote
2 answers

Redux: form input fields stay blank

I installed redux-form using this template, attached the reducer and checked that it is running fine in redux devtools. I can see the actions flow is good while typing but the form values and the input are empty after each keystroke. There are no…
chizik
  • 21
  • 7
1
vote
0 answers

Adding babel-plugin-rewire

I'm using https://github.com/mxstbr/react-boilerplate and want to mock and spy on my imports for unit tests. I have imported babel-plugin-rewire as dev dependency in my package.json "babel-plugin-rewire": "^1.0.0", I have also added…
P-A
  • 1,161
  • 12
  • 16
1
vote
1 answer

Set basename on react-boilerplate

I'm configuring react-boilerplate to start a project on it. Our dev environment publishes "dev" versions of the app in sub paths, for example: example.org/test/project-name Then, when we publish the project, it stays on example.org/ I'd like to use…
Fez Vrasta
  • 14,110
  • 21
  • 98
  • 160
0
votes
0 answers

Serving REACT component using express is not working on Vercel

I have an express server setup inside a react-boilerplate project. The express server works fine on Heroku but it does not work on Vercel. The Framework Presets does not show 'React boilerplate' as an option. Selecting 'Create react app' or 'Other'…
0
votes
0 answers

TypeError: Cannot read properties of undefined (reading 'tap')

I am trying to run this react boilerplate using npm start and I get this error everytime: /mnt/c/Users/User/Downloads/LI-AI-PAD/LI-AI-PAD/node_modules/html-webpack-plugin/index.js:43 compiler.hooks.initialize.tap('HtmlWebpackPlugin', () => { …
0
votes
1 answer

pre_gen_project hook script didn't exit successfully

Generating a dash component project using cookiecutter. Followed the installation guide of dash-component-boilerplate: https://github.com/plotly/dash-component-boilerplate Ubuntu 18.04.5 (WSL) Node - v8.10.0 NPM - 3.5.2 python - 3.6.9 pip -…
0
votes
1 answer

Customizing React Boilerplate

Hello I am trying to use React boiler plate. offline-first boilerplate, when I remove lines or modules I don't need in the App nothing renders. if you have used react boilerplate before and have success fully customized it or you know of a way this…
0
votes
1 answer

CRA Boilerplate Cannot read property 'initialLoad' of undefined In Redux -Saga & Reselect & redux-toolkit

Getting This Error When i use a useSelector hook to fetch data. Im getting initial state undefined which cause the error. selector.ts import { createSelector } from '@reduxjs/toolkit'; import { RootState } from 'types'; import { initialState } from…
0
votes
1 answer

Problem to Extending Localization Sources in abp v 6.3.0

I need to extend localization sources. According to the descriptions in the documentation, I added the localization sources files in a folder named AbpWebXmlSource and marked embed. After that, I registered them in the PreInitialize() method of…
0
votes
1 answer

Boilerplate/template keeps showing the same contents of App.Js page

So I created a new React App and tried editting the default template/boilerplate file but unfortunately, the page is not reloading despite changing the contents of the app.js I did a manual reload and got this: What have I done so far? Deleted…
Olasunkanmi
  • 902
  • 15
  • 23
0
votes
1 answer

binding event handlers in react boilerplate

There are 4 methods for binding event handlers that i know. The first one is by binding within the DOM element in render(): The second one is using an arrow function within the DOM…
Mavrickj9
  • 25
  • 9
0
votes
0 answers

Extension 'Search Result' cannot format vscode

I am using prettier and kite as my formatters for my react app in vscode. Everytime i use the shortcut: shift + alt + f i get the error: Extension 'Search Result' cannot format vscode. Even when i highlight and do manually it doesn't work. What do i…
0
votes
4 answers

react-boilerplate for development is using older libraries

I am looking to develop a React JS web app, using react-boilerplate for development https://github.com/react-boilerplate/react-boilerplate But the above boilerplate doesn't seem to be updated quite often, which boilerplate should be used for…
Rpj
  • 5,348
  • 16
  • 62
  • 122
0
votes
1 answer

npm run script not writed in package

I can not find some doc in my help. In my npm project I have the script start "start": "cross-env NODE_ENV=development node server" I must invoke the script start with one or more vars from cli (I can not change the package.json), example: npm run…
0
votes
0 answers

How to run react app aside using npm run build, npm run export, npm run serve

I currently have app that uses react boilerplate, My question is, is there any other to run it aside from using: npm run build npm run export npm run serve Every time i change something from the code, i have to do the above procedure which is time…
Julietta
  • 23
  • 9