Hacker News new | ask | show | jobs
by Izkata 565 days ago
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.