3 ms·
Yes that’s a good point sorry I just gave one e.g. from the article of IE event handling. Re the original purpose of react being syncing state, I’m really not
by grey-area 2y ago
Yes that’s a good point sorry I just gave one e.g. from the article of IE event handling.
Re the original purpose of react being syncing state, I’m really not sure this small problem is actually worth the trade-offs of massive complexity and lock-in, nor that react is a good solution for it (double renders, persistent rendering bugs, use state, hooks etc).
It’s not something important to lots of apps and there are loads of other options from simple polling to web sockets to reloads, this can be done in a far simpler way without react. Also the use cases where this is central are really quite small.