DEV Community

loading...

Discussion on: Using React Hooks to simplify Apollo Client

Collapse
davybello profile image
Bello Oladipupo

I've been using this pattern for a while and it's great for react apollo with a few tweaks the same concept applies to render props.

Not sure if there's a name for it been unofficially calling it the data provider pattern.

I try to keep the provider totally seperated from the UI and the containers stateless all/most of the functionality from validation to input changes happens inside the hooks/render props