Fork me on GitHub
#hoplon
<
2018-03-15
>
nando12:03:31

For what sort of application would a react-based approach, using reagent / re-frame for instance, be more appropriate than using hoplon / javalin? Or, when does an application need a virtual DOM approach? Practical examples would help.

nando12:03:42

I'm very drawn to the straightforward simplicity of hoplon / javalin.

alandipert14:03:28

nando it's kind of an open question

alandipert14:03:10

something that's difficult to do technically in hoplon but easy with a vdom is a dynamic hierarchy

alandipert14:03:42

like you're making some kind of UI and the depth of some tree you're drawing is parameterized by input

alandipert14:03:36

like an outliner or some ui that lets the user make arbitrary numbers of deep nested lists

alandipert14:03:22

me and micha did it a couple years ago for a contest, a hoplon based org mode type app, but it had weird performance problems. i never actually ported to reagent so i couldn't say if it would be an improvement, but that was my suspicion at the time

alandipert15:03:41

https://tailrecursion.com/~alan/micha_on_hoplon_vs_react/index.html is a conversation from a couple years ago that might also shed some light

nando21:03:16

Alan, thanks for your reply!