Global (client) state management wasn't always like it is today. I distinctly remember a time when our best option was Redux with higher order components using Even the context api, initially, wasn't as ergonomic to use (pun intended), as it only supported render props when it came out.
Full article