fork icon indicating copy to clipboard operation
fork copied to clipboard

UIx Support for Fork Form Library

Open yoodame opened this issue 4 months ago • 2 comments

Hi! I'm working on a ClojureScript project using UIx (React wrapper) with re-frame for state management. I'd love to use Fork for form handling, but I see it's currently designed for Reagent.

Current Setup:

  • UIx 1.4.4 (React wrapper, not Reagent)
  • Re-frame 1.4.3
  • ClojureScript 1.12.42

Question: Are there plans to support UIx, or is there a way to make Fork work with UIx components?

Would appreciate any guidance or thoughts on UIx compatibility!

Thanks! 🙏

yoodame avatar Sep 25 '25 00:09 yoodame

Hello! The core is a bit too coupled to reagent, as a lot of internal functions dereference reagent atoms.

Having said that, adding support for UIx doesn’t look impossible, considering that the library is fairly small and most of the logic wouldn’t change at all.

I don’t know I have enough time at this point in time to add support for it, but I definitely accept PRs and welcome contributors!

luciodale avatar Sep 27 '25 19:09 luciodale

Looks like UIx has a very simple interop for reagent components.

https://github.com/pitch-io/uix/blob/master/docs/interop-with-reagent.md

yoodame avatar Oct 06 '25 17:10 yoodame