Closed BenjaminVanRyseghem closed 7 years ago
@lkrubner I do not understand your comment
@BenjaminVanRyseghem -- sorry, perhaps I misunderstood your remark. "Dommy is outdated" sounds like the library is no longer being updated. But it was updated after your wrote your remark, so perhaps Dommy is no longer outdated? Perhaps it is being actively maintained?
@lkrubner sorry for the late answer :smile:
Dommy it still active, but the dependency to dommy points to a very old version of dommy. But it looks like this project's dead
Personally not a high priority, but updating to the latest dommy has API level breakage. If that can be taken care of, I am willing to accept a PR.
Quoting Dommy's README:
Upgrading to 1.0.0+ from 0.X.Y
Version "1.0.0" includes breaking API changes. Here's a quick overview of what's changed:
dommy.template namespace and all related templating features (node, deftemplate, etc) have been removed from the library.
Simplified namespace structure. Everything in dommy.macros and dommy.attrs has been moved into dommy.core
https://github.com/plumatic/dommy/pull/85
Looks like it is taken care in formidable. @BenjaminVanRyseghem Wink wink ;)
Please tell me what you want me to do :smile:
@BenjaminVanRyseghem I am thinking it would just involvle:
If you can get it done, that is really awesome!
So I went ahead and got my hands dirty. I am thinking it boils down to how to replace dommy.macros/node, which got removed entirely from dommy.
Some options I can think of:
Would appreciate any feedback!
Quickly searched ClojureScript hiccup Alternatives:
https://github.com/ibdknox/crate https://github.com/teropa/hiccups https://github.com/jeluard/hipo
hipo is tempting as it is a descendant of the dommy code... But on the otherhand I do not feel comfortable adding a hiccup rendering solution just to fix a single function in formative.dom.
For anyone interested, here is a PR that removes dommy as a dependency. https://github.com/jkk/formative/pull/57
Would appreciate if you can catch any dubious errors!
Fixed and testing appreciated! https://clojars.org/formative/versions/0.8.10-rc
Is this still true? Dommy was updated on Apr 23, 2015.