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
Passed $7k 💵 in a month with my boring directory of job boards 39 comments Reaching $100k MRR Organically in 12 months 32 comments 87.7% of entrepreneurs struggle with at least one mental health issue 14 comments How to Secure #1 on Product Hunt: DO’s and DON'Ts / Experience from PitchBob – AI Pitch Deck Generator & Founders Co-Pilot 11 comments Competing with a substitute? 📌 Here are 4 ad examples you can use [from TOP to BOTTOM of funnel] 10 comments Are you wondering how to gain subscribers to a founder's X account from scratch? 9 comments