Fork me on GitHub

Is there a way to instrument a reagent component to tell what prop/ratom change is causing it to re-render?


You can make a reagent class and use component did update. You get in the args the old state and new state .. so you might diff them and see what caused the re-render 😊


I did start down that path, but it was hard to see what changed just visually in the dev console. Guess I’ll have to write some diff code to check it