3 ms·
> don't really seem to be 'functional' in the functional programming sense, but more the 'we use the function syntax of JS' sense That's right. A true function
by kybernetikos 7y ago
> don't really seem to be 'functional' in the functional programming sense, but more the 'we use the function syntax of JS' sense
That's right. A true function has referential transparency. I get that hooks have ergonomic benefits in some situations, but I wish people wouldn't call them "functional".
- s_y_n_t_a_x 7y agoWho is saying that, the point of hooks is composability.