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
Thoughts #1
Comments
My question was more about, why this // 98 chars
const count = state(0);
count.set(newValue);
count.set(count.value + 1);
count.set(v => v + 1); shall be better than that? // 82 chars
// "atomic rendering" is equally possible
const count = state(0);
count(newValue);
count(count() + 1);
count(v => v + 1); I personally would use neither of them, but anyway... And why does
What's wrong with just using a |
@zouloux Please find here a little demo that uses "default props" and "should component update": » Demo BTW: That |
Continuing discussion from this long thread :
zouloux/prehook-proof-of-concept#1
Answering @xdev1 :
As always, thanks for your time and your feedbacks ! You rock ! I'll try to re-read everything later because I'll get more subtleties. Also, I'm starting to use the lib on a personal project so I'll surely have some changes to do, will do better docs after this "alpha" phase is finished.
The text was updated successfully, but these errors were encountered: