arrow_backBACK TO DRILLS
White Beltrules-of-hooksPREMIUM
Non-Hook utilities can be conditional
Why is it valid to call getSorted(items) conditionally inside a component render, but invalid to conditionally call useSorted(items) if it uses Hooks internally?