switz opened this issue 6 months ago · 0 comments
Would be nice if we can just pass a default/initial value into this hook rather than having to wrap the setter in a useEffect