3 ms·
Whats the situation about components now? Last time I checked this a while ago React would encourage having lots of components with internal state and calling s
by ufo 11y ago
Whats the situation about components now? Last time I checked this a while ago React would encourage having lots of components with internal state and calling setState on a subcomponent would only update the DOM on that subtree. On the other hand, most other virtualdom frameworks they would encourage you to keep a single global model object to describe the whole page.