r/javascript • • Jul 05 '26

AskJS [AskJS] What small JavaScript pattern made your React code cleaner?

[removed]

5 Upvotes

26 comments sorted by

View all comments

Show parent comment

4

u/NervosaX Jul 06 '26

I would suggest not calling them in the components at all - use something like react query!