1. Empathise deeply with the end user and your stakeholders to design a win-win product

A custom React hook could prove to be a less bloated alternative to Redux for managing the cross-component state.

A custom React hook could prove to be a less bloated alternative to Redux and managing the cross-component state, avoid prop-drilling and so on.

1. Create a store-like alternative:

Before refactoring:

JJ

Senior UX engineer @ HeadBox and x-product designer for McDonald’s Worldwide

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store