React State: Choose Wisely

Originally published at Pony Foo.

Local State

Global State

Context

Comparisons

Simplicity

Encapsulation

Availability

--

--

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
Joe Morgan

Joe Morgan

I like to break things and put them back together. Author of Simplifying Javascript. Writing featured in Slate, Digital Ocean and FreeCodeCamp.