Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sonusindhu/psr-reactjs-web-application
Application built with React
https://github.com/sonusindhu/psr-reactjs-web-application
create-react-app react react-router reactjs
Last synced: 11 days ago
JSON representation
Application built with React
- Host: GitHub
- URL: https://github.com/sonusindhu/psr-reactjs-web-application
- Owner: sonusindhu
- Created: 2017-10-03T11:49:46.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-03T11:58:41.000Z (over 7 years ago)
- Last Synced: 2024-11-07T11:47:33.277Z (2 months ago)
- Topics: create-react-app, react, react-router, reactjs
- Language: JavaScript
- Homepage:
- Size: 3.61 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This project was bootstrapped with [Create React App](https://github.com/facebookincubator/create-react-app).
## Available Scripts
In the project directory, you can run:
### `npm start`
Runs the app in the development mode.
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.The page will reload if you make edits.
You will also see any lint errors in the console.### `npm test`
Launches the test runner in the interactive watch mode.
See the section about [running tests](#running-tests) for more information.### `npm run build`
Builds the app for production to the `build` folder.
It correctly bundles React in production mode and optimizes the build for the best performance.The build is minified and the filenames include the hashes.
Your app is ready to be deployed!See the section about [deployment](#deployment) for more information.
## Installing a Dependency
The generated project includes React and ReactDOM as dependencies. It also includes a set of scripts used by Create React App as a development dependency. You may install other dependencies (for example, React Router) with `npm`:
```sh
npm install --save react-router
```Alternatively you may use `yarn`:
```sh
yarn add react-router
```This works for any library, not just `react-router`.
### With React Router
If you are using React Router check out [this tutorial](http://serverless-stack.com/chapters/code-splitting-in-create-react-app.html) on how to use code splitting with it. You can find the companion GitHub repository [here](https://github.com/AnomalyInnovations/serverless-stack-demo-client/tree/code-splitting-in-create-react-app).