The Problem: Managing Complex Book Data Without Prop Drilling
When I started building AYUBOOKS , a digital cataloging and reading platform inspired by Letterboxd, the initial prototype relied heavily on local component state ( useState ). Everything worked smoothly with just a handful of books.
However, as the catalog grew and I introduced real-world features—such as instant search filtering, category tagging, tracking reading statuses, and user reviews—three major bottlenecks quickly emerged:
Severe Prop Drilling: Passing book lists, search queries, and state-updating functions down through multiple layers of nested components (from the main layout to search bars, filter sidebars, and individual book cards) made the codebase rigid and hard to refactor.
State Synchronization Bugs: Updating a book's status in one view (like marking it as "Read" inside a modal) didn't always reflect immediately in the main catalog grid or user statistics without messy workarounds.
Unnecessary Re-renders: Every keystroke…