Faster, Better DOM manipulation with Dommy and ClojureScript
blog.getprismatic.com
Faster, Better DOM manipulation with Dommy and ClojureScript
1–10 of 51 posts
Re: Faster, Better DOM manipulation with Dommy and ClojureScript
#2Re: Faster, Better DOM manipulation with Dommy and ClojureScript
#3Author here. Happy to answer any questions/concerns.
Re: Faster, Better DOM manipulation with Dommy and ClojureScript
#4Author here. Happy to answer any questions/concerns.
Did the speedup of script execution have other costs? One would imagine that using Clojurescript would incur some other costs somewhere. This feels like a free lunch somehow.
Re: Faster, Better DOM manipulation with Dommy and ClojureScript
#5Author here. Happy to answer any questions/concerns.
edit: WebFUI[1] is one clojurescript project trying to provide a pure interface for dom manipulation; there are others.
Re: Faster, Better DOM manipulation with Dommy and ClojureScript
#6Author here. Happy to answer any questions/concerns.
does Dommy provide a pure API on top of the DOM? (e.g., lens based) I don't immediately understand how one would make that performant given that the DOM is a mutable data structure. edit: WebFUI[1] is one clojurescript project trying to provide a pure interface for dom manipulation; there are others. [1] https://github.com/drcode/webfui
We use standard manipulation.
Re: Faster, Better DOM manipulation with Dommy and ClojureScript
#7However, macros for javascript are being worked on. sweet.js is coming along really well, and just needs to continue ironing out bugs and maturing. http://sweetjs.org/ I believe that it could have a profound effect on JavaScript, such as parsing selector string at expand time.
Re: Faster, Better DOM manipulation with Dommy and ClojureScript
#8ClojureScript is so different from JavaScript that it makes sense write a more native DOM library for it. As someone with a lisp background, it's very cool to see a high-profile company like Prismatic using it. However, macros for javascript are being worked on. sweet.js is coming along really well, and just needs to continue ironing out bugs and maturing. http://sweetjs.org/ I believe that it could have a profound e…