latitude-dev / latitude

Developer-first embedded analytics

Home Page:https://latitude.so

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

runQuery reactToParams is opt-in instead of opt-out like all the rest

geclos opened this issue · comments

Steps To Reproduce

Use runQuery in any context

Expected Behavior

Should be opt-out like in charts, autocomputing should always be opt-in as it's an expensive operation

Actual Behaviour

It autocomputes

Workarounds

runQuery('query', { reactToParams: false}) explicitly setting reactToParams to false stops the autocomputing

Why is everybody terrified of this issue 😂, anyway I just started exploring and using latitude. Great product you've built here.
As I haven't used 'runQuery' yet, I'll keep exploring and try it out today and try to reproduce the issue.