3 ms·
I haven't tested any of that code so it may not work perfectly. I have another question: did you model this on any existing html generating solution (such as r
by jetti 6y ago
I haven't tested any of that code so it may not work perfectly.
I have another question: did you model this on any existing html generating solution (such as reagent/om/rum)? I am looking at those projects for inspiration and a guide on how to do this kind of generation
- spacegangster 6y agoWell, HTML is generated by Hiccup, it's a solid veteran library
- jetti 6y agoYea, I totally missed that. I'm working on a ClojureScript library so there is no Hiccup and I'm planning on targeting Vue instead of React which means reagent and sablono are both out too.
- spacegangster 6y agofreaking cool! have you seen recent React take on atoms? I haven't dived into that, but from the surface it sounded like they're playing with Vue's approach. Perhaps Vue is more developed in its own approach though :-)
- jetti 6y agoI have not seen that. I'm not very familiar with standard React, I've only briefly worked on a React codebase and the rest of the time I've used React via Reagent