2 ms·
React.Component still exists. And most `useLatest` implementations will get you the advantage of `useEffectEvent` today. If you really wanted to take a jab at
by c-hendricks 1y ago
React.Component still exists. And most `useLatest` implementations will get you the advantage of `useEffectEvent` today.
If you really wanted to take a jab at React people, show them
const that = useLatest({
// bunch of stuff you want to pass around to effects / callbacks
})