News for hackers. Stuff that matters.
Re:If Not React, Then What? by Izkata on Tuesday December 03, 2024 @01:41AM (#42303537)
Nope, it's a normal function that updates some variables in the React module then returns two values. There's a little bit of magic going on, with how it knows which component it's in, but that's happening outside of the individual hooks.

There are no comments on this comment yet.