Regression testing React.memo

hi all, i have an expensive component that's memoized, and this depends on a godawful chain of useCallbacks etc. is there any way to write a (unit, browser, whatever) regression test that ensures the memoization is still working after changes are made? the general vibe online seems to be that this is a bad idea, but preventing regressions here is super important.
0 Replies
No replies yetBe the first to reply to this messageJoin