Runs and subscribes to a query in the query store
Optional
const events = useStoreQuery(TimelineQuery, [{kinds: [1]}]) Copy
const events = useStoreQuery(TimelineQuery, [{kinds: [1]}])
Runs and subscribes to a query in the query store