o0101 / good.html

💎 Good.HTML. A nice framework without the bad stuff. Lots of custom elements, and nice templates. Good. HTML
https://o0101.github.io/good.html/
MIT License
21 stars 2 forks source link

no easy way to call update state if you have dynamic state where it's always a new object #54

Open o0101 opened 2 years ago

o0101 commented 2 years ago

even tho it's logically the same object

o0101 commented 2 years ago

I added a rerender method that does this.printShadow(this.state)

would be nice to have this triggered somehow automatically with dynamic states that we don't have a key for... how?

i thought i solved this before....?

i think i did, but only if we keep the same object....i should be able to define an 'object key' that remains the same over different generations of the same object: it's the same logical object, even tho it's a different memory object, and bang identifies it by the same key

this is a solution potentially

maybe consider more :p ;) xxx ;p