What is to be discussed?
When the app is little to medium size:
Should we use hooks with useReducer or even only a state being passed from a root component by props to the children or even by context?
For large apps:
Should we use redux and it's middlewares?
For apps using graphql:
Should we only use apollo with it apollo-link-state
Describe the solution you'd like
I think the solution depends on the app. I personally like redux a lot and would still use it for medium and large apps (didn't mixed it up with apollo client to really understand the problems with that).
But for small apps would only use hooks but again:
Should we:
- Use state on root component and pass by props
- Use state on root component and pass values by context
- Use useReducer on root component and pass by props
- Use useReducer on root component and pass dispatch as context
What is to be discussed?
When the app is little to medium size:
Should we use hooks with useReducer or even only a state being passed from a root component by props to the children or even by context?
For large apps:
Should we use redux and it's middlewares?
For apps using graphql:
Should we only use apollo with it apollo-link-state
Describe the solution you'd like
I think the solution depends on the app. I personally like redux a lot and would still use it for medium and large apps (didn't mixed it up with apollo client to really understand the problems with that).
But for small apps would only use hooks but again:
Should we: