Home › Forums › JavaScript › Adding a class vs. Manipulating CSS › Reply To: Adding a class vs. Manipulating CSS
August 25, 2014 at 9:30 am
#180533
nixnerd
Participant
I was reading about React, Facebooks JS framework and I came across a technique they refer to as “diffing.” From what I can tell, it will examine the state you want an element to go FROM and examine the state you want it to go TO and automatically fill in the diff by redrawing every single frame to completion. This sounds like it involves canvas. But wouldn’t it be awesome if there was a tool out there that did something similar to “diffing” in the DOM? I’m thinking something like GSAP that allowed for more modular code.
Total control of timeline + diffing FTW!