badgateway/react-ketting

Add support for 'update' events to useCollection

evert opened this issue · 1 comments

evert commented

If we get an update event for a collection resource, useCollection should auto-refresh it's list of items.
This feature should be behind a flag in the options, and default to "true".

To make this efficient, the Ketting State object really needs a synchronous follow() and followAll().

evert commented

This was added a few versions ago