1
2 Comments

Avoid Inline Functions

  1. 1

    Kent C. Dodds have a great article on this, it really depends on the use case
    https://kentcdodds.com/blog/usememo-and-usecallback

    1. 1

      Thanks for the blog link @gmadar, very informative read. I agree with him.

      My argument was slightly different, I was talking about defining a function before render Vs defining it on render(with jsx).

Trending on Indie Hackers
I've built a 2300$ a month SaaS out of a simple problem. 19 comments 🔥 Roast My Landing Page 11 comments Where can I buy newsletter ad promos? 8 comments Key takeaways growing MRR from $6.5k to $20k for my design studio 6 comments How would you monetize my project colorsandfonts? 5 comments YouTube? How to start 5 comments