re: React's new Context API and Actions VIEW POST

VIEW FULL DISCUSSION

Note your example will re-render consumers more often than necessary.

reactjs.org/docs/context.html#caveats

Thanks for pointing that out! I made some updates to that example that should address this.

always important to RTFM; I messed up in this case. 😳

Always learning!

code of conduct - report abuse