reagent

xfyre 2025-10-10T18:45:34.593789Z

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?

juhoteperi 2025-10-13T18:48:31.514749Z

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

xfyre 2025-10-13T20:26:17.273789Z

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

juhoteperi 2025-10-14T06:44:39.499559Z

No

juhoteperi 2025-10-14T06:45:18.440889Z

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

xfyre 2025-10-14T15:11:40.773879Z

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

Roman Liutikov 2025-10-10T19:12:04.088519Z

A minimal code sample would be helpful

xfyre 2025-10-10T22:14:21.245519Z

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