Fork me on GitHub
#re-frame
<
2020-01-15
>
Michael21:01:55

Hi. I was wondering if there is any way to use re-frame with custom view rendering code, i.e., without Reagent/React. I know there is a Reagent dependency, so if I’m going to use re-frame, my project will depend on it as well, but I am willing to pay that price.

shaun-mahood22:01:22

I'm sure I've seen some before, but the only one I can find right now is https://github.com/chpill/re-frankenstein Looks like that may give you some ideas at least.

Michael23:01:08

Thanks. I’ll have a look at the changes to the re-frame codebase.

Michael23:01:50

I also found this interesting article where someone writes a simple console app with re-frame on the JVM: https://functional.works-hub.com/learn/re-framing-text-mode-apps-fd5cf It involves some monkey-patching of re-frame, though.

shaun-mahood23:01:40

Thats's pretty cool! I've heard really good things about https://github.com/cljfx/cljfx as well, if you're looking for more JVM options.

victorb10:01:47

Not sure you can compare cljfx with re-frame, their models are vastly different

shaun-mahood22:01:51

Sort of funny - I was searching for clojurescript re-frame rum to see if I could find anything useful, and there's a youtube video with the title "React, Re-frame and Rum". Sounds perfect, no idea how I missed that conference talk when it came out! Turns out it's my talk from the Conj a few years ago that someone copied and re-uploaded with a new title.

😂 20