omcljs / om

ClojureScript interface to Facebook's React
6.66k stars 363 forks source link

Dynamic queries require state atom containing map, not DataScript DB #834

Open charles-dyfis-net opened 7 years ago

charles-dyfis-net commented 7 years ago

At present, om.next/set-query! expects to be able to use update-in to store params in the state atom. This doesn't work so well when that state atom is a DataScript store.

This limitation should be either alleviated or documented.

See related Slack discussion.

Peeja commented 7 years ago

[Slack discussion on the Slack Log, where it won't expire]