aerogear / offix

GraphQL Offline Client and Server
https://offix.dev
Apache License 2.0
760 stars 45 forks source link

Aggregate Hooks Issue #968

Open kingsleyzissou opened 3 years ago

kingsleyzissou commented 3 years ago

Bug Report

There are quite a few issues with the hooks. We have state in too many places and possibly the best solution is to strip back the hooks, use the remote to fill the store:

List of issues:

wtrocki commented 3 years ago

Yes. While this is 100% way to go we might actually really easily drop current implementation and get something from scratch. This is due to the fact that there might be some strange approaches in current hooks that might still leak out (useReducer etc.) so.. I would be easier to start from scratch.