3 ms·
To be fair, in js, throwing is the only way a function (aka Hook) can abort the execution of its calling function (aka Component). The decision to avoid a cust
by SebastianKra 3y ago
To be fair, in js, throwing is the only way a function (aka Hook) can abort the execution of its calling function (aka Component).
The decision to avoid a custom compiler is responsible for almost all oddities and downsides of React.