Skip to content

Create Loading.tsx#2

Open
glazing-town wants to merge 1 commit intomainfrom
glazing-town-patch-2
Open

Create Loading.tsx#2
glazing-town wants to merge 1 commit intomainfrom
glazing-town-patch-2

Conversation

@glazing-town
Copy link
Owner

What was changed

Added a small reusable Loading component that can be used across pages/components to display a consistent loading state.

Why it was changed

Projects often implement loading indicators in many places with slightly different UI and behavior. A shared component reduces duplication and helps keep the UI consistent.

test

  1. Import Loading into any page/component.
  2. Render it while an async request is in progress.
  3. Confirm it displays correctly and does not break existing styling/layout.

##  What was changed
Added a small reusable `Loading` component that can be used across pages/components to display a consistent loading state.

## Why it was changed
Projects often implement loading indicators in many places with slightly different UI and behavior. A shared component reduces duplication and helps keep the UI consistent.

##  test
1. Import `Loading` into any page/component.
2. Render it while an async request is in progress.
3. Confirm it displays correctly and does not break existing styling/layout.
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.

1 participant