News for hackers. Stuff that matters.
Re:Making SetInterval Declarative with React Hooks by Stoids on Monday February 04, 2019 @12:50AM (#19074255)
Thanks Jason, this was very helpful for me. I think I was having trouble making the mental jump from reading the code as a normal function with state vs how a component instance is called and handled by React at runtime--your example helped me make that hurdle.

There are no comments on this comment yet.