Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
o0101 opened this issue Sep 27, 2022 · 1 comment

Comments

@o0101
Copy link
Owner

o0101 commented Sep 27, 2022

even tho it's logically the same object

@o0101
Copy link
Owner Author

o0101 commented Sep 27, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant