Skip to content

0plus1/create-react-app-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create React App Starter

A highly opinionated react starter using CRA.

This repository is a base template for your own application.

The idea is to have a basic stub of all the moving part of a react + redux application, so you can jump in straight away and start coding your own application.

Install

TODO

Rationale

Why prop-types and not typescript?

TODO

Stubs

In this template you will find several pre-configured stubs:

react-router

  • Router parameters
  • prop-types validation

react-redux

  • Example actions and reducers
  • Complex exports with chained HOC

axios

  • axios abstraction with interceptors for HTTP status codes

Coding guidelines

Naming conventions

  • Files containing JSX should be capitalised
  • Folder names should be lowercase

Folder stucture

  • views contains all the router views
  • components contains all the components, big components should be placed in an individual folder with a index.js entry point.

Linting

Do not disable rules.

Includes

Linters

Tests

Extra

About

React - Router - Redux - AirBnB eslint

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published