DEV Community

GregLimo
GregLimo

Posted on • Updated on

Can you use class components with Apollo client 3?

Hello great people... I recently started on with apollo v3, been using react-apollo for long and recently was forced to adopt v3. However, I have gonw through the docs and don't see an instance for use with class components. Ofcos we can't use hooks with class components and although useQuery and useMutation hooks are not specific to react, we can't still use them because they start with keyword use. Anyone please give insight about this. thanks in advance

Discussion (0)