Hacker News new | ask | show | jobs
by daliwali 2778 days ago
I made something almost exactly like this: https://simulacra.js.org/

This actually uses object getters/setters, has full support for arrays, and nested arrays of objects. There is no API beyond the initial binding, everything beyond that is just mutations on an object.

2 comments

Nice! I will definitely consider this option for my next projects! Also, I am starting to think that this sort of binding could be implemented natively by browsers, which could make many applications faster.
So what happens in Simulacra if I start moving DOM nodes around?

Does the binding break?