Skip to content

4.11: Create Loading Skeletons #92

@justin808

Description

@justin808

Overview

Create skeleton loading states for Suspense boundaries.

Parent Epic: #70
Priority: P1

Prerequisites

Next Issues (after this is complete)

  • 6.1: Implement Streaming for Story List
  • 6.2: Implement Streaming for Comments

Acceptance Criteria

  • app/javascript/components/Skeletons.tsx created
  • StoryListSkeleton - placeholder for story list
  • StorySkeleton - single story placeholder
  • CommentSkeleton - comment placeholder
  • CommentTreeSkeleton - nested comments placeholder
  • CSS module styling with pulse/shimmer animation (Skeletons.module.css)

Implementation Notes

Skeletons should match the approximate dimensions of real content:

  • Story skeleton: title bar, meta line
  • Comment skeleton: author line, 2-3 content lines
  • Use CSS animation for loading effect

Metadata

Metadata

Assignees

No one assigned

    Labels

    HN-RSCHacker News RSC DemoRSCReact Server Components

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions