This fixes live queries when they are querying a view rather than a table. It now recursively introspects the dependencies of the query to find all tables it depends on.
It also extends the live query return values to allow subscribing with a callback after creating the live query. This enables crating a live query in a React router loader, then passing it to a view to use with useLiveQuery.
This fixes live queries when they are querying a view rather than a table. It now recursively introspects the dependencies of the query to find all tables it depends on.
It also extends the live query return values to allow subscribing with a callback after creating the live query. This enables crating a live query in a React router loader, then passing it to a view to use with
useLiveQuery
.See also #375