News for hackers. Stuff that matters.
Re:The self-fulfilling prophecy of React by danielvaughn on Thursday September 08, 2022 @10:35PM (#32774641)
I'm a big fan of hooks, but I'm still not completely sold on them. I like code that reads in logical sequence, like you're telling a story. When you use `useEffect` to coordinate side effects from prop changes, it makes me feel like I'm reading a story written by Quentin Tarantino.

That being said, it's a relatively small complaint.

Re:The self-fulfilling prophecy of React by imbnwa on Friday September 09, 2022 @12:43AM (#32775391)
>I'm a big fan of hooks, but I'm still not completely sold on them. I like code that reads in logical sequence, like you're telling a story. When you use `useEffect` to coordinate side effects from prop changes, it makes me feel like I'm reading a story written by Quentin Tarantino.

I actually read this as a compliment considering Tarantino himself spoke in an interview about how his non-linear storytelling style comes from the way novels he'd read were written.