Currently, everything is very, very hardcoded. Eventually, we want to only have a few routes with variable endpoints which will also us to dynamically load up models and components when we need to. This will allow for no code duplication and fewer bugs.
This will also probably require redux to be introduced into the project, so this might not happen until phase 2
redux: state library and handling
Immutable: immutable data structures with good documentation that works well with redux
reselect: memoizes state in order to reduce React component renderings
Currently, everything is very, very hardcoded. Eventually, we want to only have a few routes with variable endpoints which will also us to dynamically load up models and components when we need to. This will allow for no code duplication and fewer bugs.
This will also probably require redux to be introduced into the project, so this might not happen until phase 2