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
It takes time to fetch items, and {items.length === 0} returns 0 at initialization, causing the filler page to display momentarily. On option is to store that information in Redux so we don't have to wait for the backend and can display the correct page immediately. Or we can do someting with useMemo
The text was updated successfully, but these errors were encountered:
erenfn
changed the title
Use redux to store items.length in DefultPageTemplate to smoothen flow
Filler Page is shown while we wait for fetching banners/popups in default page
Sep 14, 2024
It takes time to fetch items, and {items.length === 0} returns 0 at initialization, causing the filler page to display momentarily. On option is to store that information in Redux so we don't have to wait for the backend and can display the correct page immediately. Or we can do someting with useMemo
The text was updated successfully, but these errors were encountered: