Experimental hook that can run queries in Presentation Tool.
Query results are sent back over postMessage whenever the query results change.
It also works with optimistic updates in the studio itself, offering low latency updates.
It's not as low latency as the useOptimistic hook, but it's a good compromise for some use cases.
Especially until useOptimistic propagates edits in the Studio parent window back into the iframe.
Experimental hook that can run queries in Presentation Tool. Query results are sent back over postMessage whenever the query results change. It also works with optimistic updates in the studio itself, offering low latency updates. It's not as low latency as the
useOptimistichook, but it's a good compromise for some use cases. Especially untiluseOptimisticpropagates edits in the Studio parent window back into the iframe.