Given that wagmi already makes uses of tanstack for queries, it we could optimize and unify approaches by refactoring the apollo queries into tanstack queries.
Acceptance criteria
[ ] Apollo client is removed from the code base
[ ] Proposals graphql queries are refactored to tanstack
[ ] Proposal state queries which are inferred by Timelock & Governor, should update automatically with changes from either on chain or graph data sources
[ ] All queries & workflows should be amended to be access with wrapped hooks in the @/lib/ folders
Overview
Given that
wagmi
already makes uses oftanstack
for queries, it we could optimize and unify approaches by refactoring the apollo queries into tanstack queries.Acceptance criteria
@/lib/
folders