The replies to this are interesting. It seems like many folks feel “bad” about having a bunch of Providers at the top. Whether you have one, two, or fifteen, there’s no problem with that. It’s the root of your app, you’ll barely look there. https://twitter.com/DavidWells/status/1264742922190127104
If you want to get them out of the way, you can always do this. It’s not a special technique, this is a regular component. Composition! https://twitter.com/wolfhoundjesse/status/1264789647831576591
I think we have about 30 at the root of the new FB website. So what? They cover different things (shortcut keys, routing, data, modal layers, focus management). It’s a bit misguided to want to swap out some library to “remove a provider” IMO.
You can follow @dan_abramov.
Tip: mention @twtextapp on a Twitter thread with the keyword “unroll” to get a link to it.

Latest Threads Unrolled: