4 ms·
Well, yeah. That isn't the recommended way to use react.
by aljones 11y ago
Well, yeah. That isn't the recommended way to use react.
- duncanawoods 11y agoIts pretty essential for non-trivial applications with data-structures more complex than can be handed over to React. setState is just sugar - it also calls forceUpdate.