r/reactjs • u/Meow_man1213 • Apr 30 '26
Discussion Finally realized how much i was abusing useEffect, and deleting them is the best feeling ever..
[removed]
287
Upvotes
r/reactjs • u/Meow_man1213 • Apr 30 '26
[removed]
View all comments
Show parent comment
4
u/michaelfrieze Apr 30 '26
Sorry, but I would never use a starter for a real project.
Also LLMs never fully follow things like agent rules and skills. They will sometimes add useEffect regardless. I find most success by reminding them in every prompt to read react docs or the docs of whatever tool I am working with. I add the "you might not need useEffect" URL in almost every react related prompt these days. And even then, they still fucking do it on occasion.