busy-web / react-starter-app

webpack, react, flow starter app
The Unlicense
1 stars 0 forks source link

Design a simple and intuitive support structure with redux. #1

Open sstephens opened 6 years ago

sstephens commented 6 years ago

This is for open discussion and ideas and best practices.

sstephens commented 6 years ago

According to Redux docs, under Basic Reducer Structure, reducers can usually split into 3 categories:

I would like to make all data that falls under the Domain category reside in a separate module that can be imported through NPM and reused in other applications like the equipment app.

Then the time-keeping app and the equipment app can build upon that main setup to customize any other App and UI states that is may need.

sstephens commented 6 years ago

Normalizr is a tool for defining data schemas with nested relationships. busybusy usually doesn't return nested data, however, the relationships still exist in the data. I think this would be a great tool to help us define our model layer.