Hitchcock is an experimental debugging tool for React Suspense and Concurrent Mode. It wraps React.lazy(), provides a simple cache via react-cache, and lets developers pause, delay, or invalidate promises during development. The library exposes a Director component, a lazy wrapper, and a createResource utility with read and preload methods for managing async data fetching. It includes demos and CodeSandbox examples, but is explicitly marked as unstable and intended only for experimentation.

3m read timeFrom github.com
Post cover image
Table of contents
DemosUsageContributingLicense

Sort: