8
3 Comments

React Class Components vs Functional Components with Hooks: A Never Ending Story

  1. 2

    Thanks for sharing this. I am a Backend dev that is sometimes tasked with doing FE work... this really helped me answer a question I didn't realize I had.

    1. 1

      That's awesome! Can you please tell me more? What question did it help you to answer?

      1. 1

        Specifically, the closure problem helps. I actually just converted a functional component back to a class component because of a "bug" caused by us not using useRef. Guess I can switch it back now. Lol

Trending on Indie Hackers
After 10M+ Views, 13k+ Upvotes: The Reddit Strategy That Worked for Me! 42 comments Getting first 908 Paid Signups by Spending $353 ONLY. 24 comments I talked to 8 SaaS founders, these are the most common SaaS tools they use 20 comments What are your cold outreach conversion rates? Top 3 Metrics And Benchmarks To Track 19 comments Hero Section Copywriting Framework that Converts 3x 12 comments Join our AI video tool demo, get a cool video back! 12 comments