Comment Comment by dualogy > Speaking of writing javascript instead of JSX, I'm a big fan of the hyperscript approachSpeaking of writing JS instead of JSX or your example, I like the vanjs.org approach: const Hello = () => div( p("Hello"), ul( li("World"), li(a({href: "https://vanjs.org/"}, "VanJS")), ), ) van.add(document.body, Hello()) parent dualogy 1 year ago
Speaking of writing JS instead of JSX or your example, I like the vanjs.org approach: