Just used Cursor to eliminate a needless useEffect in a big React component


Just used Cursor to eliminate a needless useEffect in a big React component.

I simply asked "Can you eliminate this useEffect?"

The explanation was clear and exhaustive. I just click apply, and it refactors for me.

So slick.

View original on X