Building our own store management library like ReduxReact comes with hooks and also it has a powerful context API. We are going to take advantage of these two features and build a state management system.
Do we need Redux ?When developing a single page application, we need a way to persist data in state that can be used by our application. Redux helps us in maintaining this state.
Abusing High Order Components in ReactHigh Order Components are a great way to enhance your components. You can combine multiple HOCs together to build a powerful feature.
Chaining Graphql ResolversBy creating a chain of resolvers to satisfy individual parts of the overall problem, you will be able to compose an elegant workflow.