Value is empty on initial render and sets after few milliseconds
mahavirn opened this issue · comments
Mahavir Nahata commented
Summary
Value is empty on initial render and sets after few milliseconds
const user = globalStore((state) => state.user);
if i console.log(user) its {} initially and after 100-200 ms the value is resolved to actual value.