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

React Login Page Button

This is the full code of my login page. It is based on react-boilerplate . import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { Helmet } from 'react-helmet'; import { FormattedMessage } from…
0
votes
1 answer

unexpected token in propTypes declaration

I am trying out react-boilerplate. It comes with some generators. When I generate a new container with all the options ticked yes ... ? Select the base component type: React.Component ? What should it be called? UsersPage ? Do you want headers?…
Kristian
  • 21,204
  • 19
  • 101
  • 176
0
votes
2 answers

Where is added container in React app?

I forked this React app :https://github.com/react-boilerplate/react-boilerplate At the moment I am trying to display a simple container called 'Schedule' to the app, the container was generated through the app: export class Schedule extends…
bier hier
  • 20,970
  • 42
  • 97
  • 166
0
votes
0 answers

How do i add new routes in the react-boilerplate?

I have started to react code using https://github.com/react-boilerplate/react-boilerplate. I just want to add login and registration from https://github.com/cornflourblue/react-redux-registration-login-example But i met there is a store in two…
Danil Chernokalov
  • 755
  • 1
  • 10
  • 31
0
votes
0 answers

How to set https in react-boilerplate?

i'm starting a new project with https://github.com/react-boilerplate/react-boilerplate, and i need use https, i already configure nginx to https, my custom nginx config file is here: https://www.pastiebin.com/5b034ba8938b3 I run my app with npm run…
Diego Oliveira
  • 121
  • 1
  • 1
  • 9
0
votes
1 answer

What server is react boilerplate using "under the hood"?

When you start a server on localhost using react boilerplate and type "npm start", what server is actually being used? Apache, nginx?
0
votes
3 answers

How to change the state of an item affected by onClick in array?

I'm making a page where I need to make multiple selections of buttons (like a filter, which I'll use for the next page). the information from these buttons is coming from an array and I'm using .map () to mount the button list. My problem is how do…
Fellipe Abreu
  • 29
  • 1
  • 8
0
votes
1 answer

react boilerplate - set up build to run from non-root directory

I asking how to configure react boilerplate to run from a non-root directory. taking the standard release of react boilerplate: # from directory www-root git clone --depth=1 https://github.com/react-boilerplate/react-boilerplate.git rbp cd rbp npm…
pgee70
  • 3,707
  • 4
  • 35
  • 41
0
votes
3 answers

React-Boilerplate run production without port

Well, I want to deploy the react-boilerplate project to my digital ocean vps server. Command npm run start:production runs the application by address http://XXX.XXX.XXX.XXX:3000/. I'm going to run the server without port like http://XXX.XXX.XXX.XXX…
0
votes
1 answer

react-boilerplate not working with firebase

I have imported firebase like this, import * as firebase from 'firebase'; const config = { }; firebase.initializeApp(config); export const database = firebase.database().ref('/posts'); Then I got this…
0
votes
1 answer

React-boilerplate Package versioning mismatch error even though Package updated to required version

I am using react-boilerplate [3.5.0] and trying to install react-toolbox. After installation we are supposed to run command npm run build:dll and now it gives error => Building the Webpack DLL... Your current PostCSS version is 5.2.18, but…
Tripti Rawat
  • 645
  • 7
  • 19
0
votes
1 answer

React -Router-v3 - Dynamic routes and ssr initial render issue

I am kind of new to react with a few months experience, I am working on this project where I need to implement dynamic routes. For that I am using this route.js file. // These are the pages you can go to. // They are all wrapped in the App…
0
votes
1 answer

Not able to fetch state defined using immutable fromJS in selector for my react-redux app

this is my selector file for Login component import { createSelector } from 'reselect'; const authentication = () => (state) => state.get('login'); const getCurrentAuthData = () => createSelector( authentication, (loginState) =>…
0
votes
2 answers

Requests API in React-boilerplate

I am using the boilerplate on https://github.com/react-boilerplate/react-boilerplate . The problem is that when I'm hitting API's It's returning error 404. I'm not able to get from where it is setting up the host (which is always going…
Tripti Rawat
  • 645
  • 7
  • 19
0
votes
1 answer

Dispatches an action from different component [react-boilerplate]

I am using react-boilerplate to create a react project. I have two different components: In component A has a saga function that should be also called in component B. When I dispatch an action from component A, the saga function is called…
Shi
  • 510
  • 1
  • 5
  • 16