aerogear / datasync-starter

GraphQL Low Code React and Node.js DataSync Application template
http://graphback.dev
MIT License
32 stars 38 forks source link

Conflict handling and subscriptions should be done in the App root rather than in task view #361

Closed wtrocki closed 4 years ago

wtrocki commented 4 years ago

Let's discuss that We can setup required components and actions in App context (before router) and rely on this in entire app.

It is simply not doable to ask people to subscribe to various datasets they have on every single component (as we rely on subscriptions not in Apollo way, but as way to keep cache up to date).

wtrocki commented 4 years ago

Note: We have done it for the conflict already: https://github.com/aerogear/datasync-starter/pull/359/files