Skip to content

tapan0212/react-template

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Template

React Template CI

Built using react-floki

API Calls

Side Effects

Global state management

Design and Style

Translations

Routing

Aliasing

  • @app -> app/
  • @containers -> app/containers/
  • @components -> app/components/
  • @services -> app/services/
  • @utils -> app/utils/

Take a look at the following files

Chunkify and Lazy loading

Take a look at the following files

App entry point

PWA

Take a look at the following files

Scaffolding components

Components, containers, tests and stories can be scaffolded using

yarn generate

For documentation take a look at: react-floki

Gotchas

  • For github pages to work on an arbitrary route we have a hack here App/index.js
    This should actually look like this
    path={routeConfig[routeKey].route}
    
  • Another hack for github pages to work on an arbitrary route we have a hack here webpack.base
    This should actually be
    publicPath: '/'
    

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.8%
  • HTML 3.2%