You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wonder if we could wrap event listeners with the query options API too. Something like useQuery(() => myEventListener((event) => ...)) then the useQuery could tie into the React/Solid/etc lifecycle for cancellation.
This is a not really using useQuery how it's design but if it works it makes for better DX without the maintenance burndon of every framework.
Add a
Language
implement that can something like:So it could be used like
createQuery(() => commandOne)
.The
queryOptions
API allows spreading so we wouldn't allow configuring custom options, that would be on the end-user.The text was updated successfully, but these errors were encountered: