Skip to content
This repository has been archived by the owner on Jan 6, 2019. It is now read-only.

didierfranc/redux-react-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

styled with prettier

redux-react-starter

This repository contains the minimal app to get started with redux, react, hot-reloading, async function and some other great stuffs.

How to

yarn 0.18+ must be present on your machine.

Start

Run webpack-dev-server, get ready to code with hot reloading

yarn start

Share

Share your localhost running app to anyone with an internet connection

yarn ngrok

Build

Bundle your app. It will create index.html, main.[hash].js, vendor.[hash].js and manifest.[hash].js

yarn build

Run your build

yarn prod

Deploy

surge ./dist -d subdomain.surge.sh
mv dist docs
git push upstream master

Then go to your repository, Settings -> Options -> Github Pages and select /docs folder

What's inside ?

👉 package.json

Tools

If you have not already done so, move to Chrome and install react-developer-tools & redux-devtools

Create-React-App

If you don't care about the process or you don't want to play with your config try create-react-app