3 ms·
I always do `const [stableValue] = useState(() => ...)`. It’s clear, simple, and easy to promote to an interactive value.
by graftak 4y ago
I always do `const [stableValue] = useState(() => ...)`. It’s clear, simple, and easy to promote to an interactive value.