Closed Happa8 closed 1 month ago
Current useFieldset() uses useLayoutEffect(), but useLayoutEffect() occurs warning in SSR. In useField(), this problem is already fixed as using useSafeLayoutEffect().
useFieldset()
useLayoutEffect()
useField()
useSafeLayoutEffect()
So I tried to fix useFieldset() as change useEffect() to useLayoutEffect().
useEffect()
Closes #2977 .
@Happa8 is attempting to deploy a commit to the Chakra UI Team on Vercel.
A member of the Team first needs to authorize it.
Current
useFieldset()
usesuseLayoutEffect()
, butuseLayoutEffect()
occurs warning in SSR. InuseField()
, this problem is already fixed as usinguseSafeLayoutEffect()
.So I tried to fix
useFieldset()
as changeuseEffect()
touseLayoutEffect()
.Closes #2977 .