3 ms·
This actually isn't true anymore that you always have to render from the root in Om. We've already changed component local state to avoid this, and likely in th
by swannodette 12y ago
This actually isn't true anymore that you always have to render from the root in Om. We've already changed component local state to avoid this, and likely in the near future this will be true in the props case as well.
- haberman 12y agoThanks for the update -- could you explain how this works? Do you figure out internally-to-Om which subtrees have actually changed and call setState() and/or forceUpdate() on them? The original article said that Om doesn't use setState() at all -- has this changed?