Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
fix #251 (finally) #596
Yes, it accesses the DOM and will reduce performance, but I don't think there's another way. Please test the performance difference before/after to see.
Looks like Object.assign isn't being transformed, probably need to add that babel plugin...
Test it here: https://codepen.io/anon/pen/Yavaav?editors=1010
All: can't see a "jump"/glitch where you can see the element redrawn at the top/left
I also updated the CodePen so you can scroll and see how the updates work there as well. (seems to be fine). I'm going to test IE11 in a second.
Edit: No glitches while scrolling on IE11!