3 ms·
Never really thought react was a problem. I think it's quite fast. Issues that I've seen are with reduxjs which triggers a ton of re-renders if you return a new
by thecleaner 3y ago
Never really thought react was a problem. I think it's quite fast. Issues that I've seen are with reduxjs which triggers a ton of re-renders if you return a new object from the useSelector hook. And it's fucking stupid because even one component that pollutes the store, it can slow the whole app to a crawl. Think for example something that fires on onHover and we want to achieve 60fps. Even Figma suffered from this issue. They wrote a blog about it.