You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With global state management like Valtio, I want to preload my initial data needs, and I do it in main.tsx. Just above "ReactDOM.createRoot" . Is this the correct place? How do you do this kind of stuff? Is there a best practice? In case of lazy loading for child objects , how do you shape your states
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
With global state management like Valtio, I want to preload my initial data needs, and I do it in main.tsx. Just above "ReactDOM.createRoot" . Is this the correct place? How do you do this kind of stuff? Is there a best practice? In case of lazy loading for child objects , how do you shape your states
Thanks
Beta Was this translation helpful? Give feedback.
All reactions