Skip to content

docs: standardize loading and error state guidelines for page components#534

Merged
Chucks1093 merged 1 commit into
accesslayerorg:devfrom
Bilalishaq7:docs/532-loading-error-states
Jul 19, 2026
Merged

docs: standardize loading and error state guidelines for page components#534
Chucks1093 merged 1 commit into
accesslayerorg:devfrom
Bilalishaq7:docs/532-loading-error-states

Conversation

@Bilalishaq7

Copy link
Copy Markdown
Contributor

Summary

Closes #532. This PR introduces architecture documentation clarifying how contributors must resolve UI loading and failure states within newly written page layouts to prevent fractured presentation experiences.

Changes

  • Updates docs/state-management.md with detailed criteria on asynchronous lifecycle state flows.
  • Adds explicit usage guides determining when to leverage structural page skeletons (CreatorSkeleton, CreatorCardSkeleton).
  • Clarifies design guidelines separating application Error Boundaries from inline retry layouts.
  • Introduces an idiomatic code architecture sample incorporating React Query hooks.

Testing

  • pnpm lint
  • pnpm build

Checklist

  • Linked issue or backlog item
  • Scope is limited to the stated change
  • Updated docs if behavior or setup changed
  • Added screenshots for UI changes when relevant

@Chucks1093
Chucks1093 merged commit 1d930ff into accesslayerorg:dev Jul 19, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add docs for how to handle loading and error states in new page components

2 participants