Skip to content

LouisDelbosc/frontend-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#User client

##Convention used:

###Components

Here an idea how the code is organize:

  • mixins
  • static
  • getInitialState
  • stuff
  • onChange
  • componentDidMount
  • Render

The function in stuff aren't organize in a special way, up to you to specify your convention here

###Flux

We're trying to use a flux architecture even if there is no dispatcher. The application there is too small to bother using one.

For this there is some rules:

  • Component can't access to any store directly, they have to call action
  • Make as stateless component as possible
  • Try to regroup the state in some major component to debug easily
  • All the interaction with the back-end is done in the store
  • We try to make it a circle: actions => dispatcher **=> store => view => action **

About

For frontend stuff (react, react-router, webpack)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published