3 ms·
Not having heard much about signals my takeaway from this is that they allow you to write functional components assuming the function runs exactly once, thus si
by davnicwil 4y ago
Not having heard much about signals my takeaway from this is that they allow you to write functional components assuming the function runs exactly once, thus sidestepping issues with closures etc on updates that cause further runs of the function.
Is that right? If so it's pretty smart I think.
I'm not really a fan of the 'magic' introduced that makes it work via direct DOM manipulation on updates. It seems suspiciously like that's yet another source of mental model confusion that articles will be written about a couple of years from now... but overall it does seem a lot simpler for most usecases.