Using React's context (v. 16.3 and above)

Last updated