aicoolies logo
Suspensive logo

Suspensive

Production-ready React Suspense and error handling

Share
open-sourceOpen Source
Visit Website →

TypeScript library extending React Suspense API with declarative components and hooks for production applications. Provides ErrorBoundary with selective error catching via shouldCatch, SSR-safe Suspense with clientOnly prop, Delay component preventing loading flashes, ErrorBoundaryGroup for coordinated resets, and data fetching components including SuspenseQuery and SuspenseInfiniteQuery. MIT licensed by Toss with three years of active development.

Suspensive is a batteries-included library filling critical gaps in React built-in Suspense implementation for production applications. React provides foundational Suspense and lazy APIs but production reveals limitations including inability to selectively catch specific error types, SSR-safety concerns, and flash-of-loading-state problems. The Toss team at Viva Republica developed Suspensive to solve these exact problems over three years of active development and real-world fintech deployment.

The core contribution is a declarative component model for error handling and loading states. ErrorBoundary accepts a shouldCatch function for catching only specific error types, ErrorBoundaryGroup enables coordinated resets across multiple boundaries, clientOnly prop prevents server-rendering issues in Next.js, and the Delay component elegantly solves the flash-of-loading-state problem preventing brief loading indicators that create janky user experiences in data-heavy applications.

Data fetching components like SuspenseQuery and SuspenseInfiniteQuery follow React Query patterns making the library natural for developers familiar with modern async patterns. The MIT-licensed design philosophy extends rather than replaces React APIs while maintaining strong TypeScript support and developer ergonomics. For React developers building production applications with data fetching, real-time updates, and sophisticated error handling Suspensive has become essential for robust async UI behavior.

Pricing

Open source, MIT licensed, free

Platforms

TypeScript React library for Suspense, error boundaries, and async patterns

Categories

Tags

Use Cases

Alternatives

Related Tools

screenshot-to-code

Convert any screenshot or mockup into clean frontend code with AI vision.

screenshot-to-code is an open-source tool that converts screenshots, mockups, and Figma designs into clean, functional HTML, Tailwind CSS, React, or Vue code using AI vision models. Powered by GPT-4V, Claude, and Gemini, it supports video-to-code and iterative editing workflows, making it a rapid scaffolding tool for frontend developers who want to skip the pixel-translation step entirely.

open-sourceOpen Source
Puck logo

Puck

Open-source visual editor for React — your components, drag-and-drop, no vendor CMS

Puck is an open-source visual page builder for React that gives marketing teams a drag-and-drop editor backed by your own components — no vendor CMS, no proprietary runtime, just your components rendered in a visual canvas. With 12,500+ stars, MIT license, and a small but active team at Measured Co., Puck has become the default self-hosted answer for React-native visual editing.

free
blender-mcp logo

BlenderMCP

Connect Blender to AI through Model Context Protocol

BlenderMCP bridges Blender and AI assistants like Claude through the Model Context Protocol, enabling natural language control over 3D modeling workflows. Artists and developers can create, modify, and manipulate 3D scenes, objects, materials, and animations by describing what they want instead of navigating complex menus. The tool exposes Blender's Python API through MCP, supporting operations from mesh creation to shader editing and physics simulations.

freeOpen Source

Sandpack

Component toolkit for live code playgrounds

Sandpack is a component toolkit by CodeSandbox for building live-running code editing experiences directly in the browser. It bundles a full in-browser JavaScript bundler, CodeMirror editor, and preview pane into embeddable React components with npm dependency support, hot module reloading, and error overlays. Sandpack powers the interactive examples on the official React documentation and supports templates for React, Vue, Svelte, and vanilla JavaScript.

open-sourceOpen Source

Refine

React meta-framework for enterprise CRUD apps

Refine is an open-source React meta-framework for building data-intensive enterprise applications like admin panels, dashboards, and internal tools. Its headless architecture separates business logic from UI, supporting Ant Design, Material UI, Mantine, and Tailwind CSS. Connects to 15+ backends including REST, GraphQL, Supabase, Firebase, Strapi, and Hasura with built-in authentication and role-based access control. Deploys on Next.js, Remix, React Native, and Electron.

open-sourceOpen Source
CopilotKit logo

CopilotKit

Full-stack framework for building AI copilots with generative UI

CopilotKit is an open-source full-stack framework for building AI-native applications with generative user interfaces. It provides React and Angular SDKs that enable agents to dynamically generate and render UI components, synchronize state between frontend and backend in real time, and implement human-in-the-loop workflows. Supports integration with LangChain, LangGraph, CrewAI and protocols including AG-UI, MCP, and A2A for standardized agent interaction.

freemiumOpen Source