Coder Social home page Coder Social logo

Hiccup style templating? about om HOT 8 CLOSED

omcljs avatar omcljs commented on July 17, 2024
Hiccup style templating?

from om.

Comments (8)

swannodette avatar swannodette commented on July 17, 2024

There are no plans to support Hiccup syntax at this time. Different people will want different things and that can be provided outside of Om itself.

from om.

noprompt avatar noprompt commented on July 17, 2024

@tomconnors FWIW, with a little effort the template code in Pump is fairly easy to make work with this library. I personally have borrowed it and tweaked it to suit my needs. I decided to use a very simple approach dropping the CSS style tag names and few of the other conveniences. There is also the beginnings of a very naive macro version here but it needs a little bit of work and may not be worth the hassle.

from om.

swannodette avatar swannodette commented on July 17, 2024

@noprompt @tomconnors I'll happily link to anything that provides a different templating flavor over the primitives.

from om.

r0man avatar r0man commented on July 17, 2024

@tomconnors, @noprompt I started Hiccup style templating in a
branch over here:

https://github.com/r0man/om/blob/hiccup/test/om/hiccup_test.cljs

I basically took my ClojureScript Hiccup branch and
emit React forms instead of strings. I guess I put it into
another repository soon, because I think also it is not really "om",
but rather "React" specific.

from om.

swannodette avatar swannodette commented on July 17, 2024

@r0man this is great :)

from om.

r0man avatar r0man commented on July 17, 2024

Ok, I got something working over here https://github.com/r0man/sablono

from om.

tomconnors avatar tomconnors commented on July 17, 2024

Thanks for the responses on this issue, everyone. @r0man, I'm excited to try out your lib!

from om.

karneaud avatar karneaud commented on July 17, 2024

+1 @r0man

from om.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.