reagent 2025-10-10

Hi everyone! I have a question about :f> - I can't make it work with React Native for some reason, I'm getting Invalid tag '' error message. I'm probably missing something obvious. Any pointers?

I haven't worked actively on a RN project right now, but I have one that uses :f> without any problems

@juhoteperi is the code open/sharable? I'd take a look, maybe something's just wrong with the compiler settings or whatever

did you setup functional-compiler option? I pretty much never use that

no, I didn't functional compiler basically makes every component functional, which has mild performance impact

A minimal code sample would be helpful

Basically anything like this:

(defn comp-a []
  [some-child]
  )

(defn comp-b []
  (fn []
    [:f> comp-a]
    )
  )
is going to fail On the contrary,
(defn comp-a []
  (r/create-element [some-child])
  )

(defn comp-b []
  (fn []
    [:> comp-a]
    )
  )
is working