Fork me on GitHub
#fulcro
<
2022-04-15
>
njj17:04:04

This error is obvious but I can’t seem to figure out why I’m getting it: [fulcro.client.primitives] transact! should be called on a componentthat implements IQuery or has a parent thatimplements IQuery

njj17:04:09

Is it because my query is as follows?

njj17:04:11

(defsc SearchTableRow [_ props {:keys [columns role] :as computed}]
  {:query ['*]
   :ident (fn [] [:search-row (:_id props)])}

tony.kay18:04:57

I’m guessing old version of Fulcro?

njj19:04:50

Yessir, v2 😅

njj20:04:01

Strangely enough when I run thing locally there are no issues but when I build to production the errors happen. Maybe something to do with the cljs optimizations?

tony.kay00:04:50

Sorry I'm not really supporting old versions. My vague memories are unfortunately not very useful for that. Could be advanced compile renaming things. Could be you doing something else nonstandard

👍 1