|
|
|
|
|
by Aeolun
1677 days ago
|
|
They are definitely javascript. I can click to definition of the useEffect function and see exactly what it is doing. I completely agree that learning them is a bit crazy, but ultimately every hook comes down to being a function execution. |
|
How come they break Javascript semantics and execution flow?
> but ultimately every hook comes down to being a function execution.
That's really beside the point when it comes to understand what something is and using them.
{#await promise} is immediately understandable from its use.
Hooks are... well, I already said above.