Om

Om is a wrapper that makes ReactJS available for ClojureScript. Apart from the fact that ClojureScript is usually fast, a certain part of Om is actually about two times faster than in JavaScript. The difference has to do with identifying changes so as to optimally and appropriately update the DOM when ReactJS does that. The reason is that ReactJS, in its diffing algorithm (by dealing with mutable JavaScript data structures), has to perform a deep comparison to see what, if anything, in the (pure JavaScript) synthetic virtual DOM has changed.

This is still lightning fast compared to direct DOM manipulations, so fast that it's really not the bottleneck for most ReactJS users. But it's faster in Om. The reason is that ClojureScript, like a good ...

Get React: Building Modern Web Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.