The absence of loading states is awkward #112

Open
opened 2024-01-04 19:07:11 +00:00 by mcataford · 0 comments
mcataford commented 2024-01-04 19:07:11 +00:00 (Migrated from github.com)

Description

The frontend fetches data to validate that UI elements can be shown (i.e. authentication checks) and to display file listings (i.e. viewing files owned). There is not loading state associated with "data is loading", leading to blank screens and uncomfortable layout shifts and flickering.

Because of how @tanstack/react-query works, the isLoading / isPending state would be leveraged to display loading states that would hide half-baked UI.

# Description The frontend fetches data to validate that UI elements can be shown (i.e. authentication checks) and to display file listings (i.e. viewing files owned). There is not loading state associated with "data is loading", leading to blank screens and uncomfortable layout shifts and flickering. Because of how `@tanstack/react-query` works, the `isLoading` / `isPending` state would be leveraged to display loading states that would hide half-baked UI.
This repo is archived. You cannot comment on issues.
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: marc/rotini#112
No description provided.