Closed SirPepe closed 4 years ago
can you please try useState(0, {async: true});
in both cases and tell me how it goes?
It should just work now 👋
Works like a charm, thank you!
Thanks, and BTW, you are basically reproducing neverland by your own, maybe worth having a look there ;-)
Yeah, but then I'd have to wrangle with TypeScript definitons again, gonna procrastinate on this for now.
This may not be a bug but rather my lack of experience with hooks, but I would expect the following to work with dom-augmentor (it does work with React):
The second hook always works while the first one never even registers the click event. Is this intentional? If so, how would I use multiple side effects in my
Content
component?