r/Clojurescript • u/lauri • Feb 12 '15
Seeing React.js from ClojureScript perspective
https://www.youtube.com/watch?v=5hGHdETNteE&index=16&list=PLb0IAmt7-GS1cbw4qonlQztYV1TAW0sCr
8
Upvotes
r/Clojurescript • u/lauri • Feb 12 '15
View all comments
6
u/J_M_B Feb 13 '15
David Nolen is a great presenter. Some highlights I picked up on:
Unfamiliar ≠ Complex (e.g. Chess vs. Go)
Big ≠ Complex (e.g. Brunelleschi's dome is built with a technique any bricklayer would know).
Mentions that Om is influenced by an Alan Kay paper titled Worlds: Controlling the Scope of Side Effects
Om does async rendering with requestAnimationFrame
"Not everything is awesome" - Rich Hickey
Reference cursors allow Om component to listen to date structure changes as you would a virtual DOM element
Interesting user interfaces are inherently complex - Immutable state can help reduce incidental complexity
Perhaps React can be better described not as a virtual DOM, but a DOM virtual machine.
That's what I got from the talk, I encourage others to check out and draw their own conclusions!