Fork me on GitHub
#re-frame
<
2020-03-13
>
phronmophobic18:03:38

I’m working on a library for building desktop GUIs on the jvm, https://github.com/phronmophobic/membrane/. I would love to have first class support for re-frame, but I’m having some trouble figuring out what the most idiomatic approach to basic components would be. Basically, I’d like to have a builtin text input component, but I’m not sure what the that would look like in re-frame.

phronmophobic18:03:39

I could provide a text input similar to the one in the browser with a procedural API, but I’ve always felt that dealing with the procedural API of the DOM as more of a necessary evil rather than an ideal interface. for example, if you’ve ever had to write code that cared about text selection, the cursor, or focus, it’s always a pain.