Skeleton: a component to act as a placeholder for loading page sections and content #649
daneah
started this conversation in
New component request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The problem
As various parts of the page or content are loaded via an API call, a micro frontend, or server-side rendering, we want to make sure our web vitals scores stay strong. One way this can be done is using placeholder elements to ensure better UX and page load.
The solution
Create a component that captures the pattern and offers the versatility needed to account for variation in page structure/content that would use it.
Alternatives considered
NA
Additional information
react-loading-skeleton and react-content-loader might be a good place to start in terms of API and DX inspiration
Beta Was this translation helpful? Give feedback.
All reactions