Re:Redux – Not Dead Yet
by crooked-v on Wednesday April 25, 2018 @01:14AM
(#16918780)
The new context API effectively makes variables available globally, but you're still using a separate (explicitly declared) Consumer for each, so you don't have any of the basic issues that go with using a single set of globals.
For a very simple example: