aicoolies logo
Suspensive logo
Suspensive logo

Suspensive

Production-ready React Suspense and error handling

open-sourceopen sourceupdated Apr 22, 2026
Visit Website →
Share

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

Mitosis logo

Mitosis

Write components once and compile them into native code for multiple frameworks

Mitosis is Builder.io-backed open-source infrastructure for writing a component once and compiling it into native framework components for React, Vue, Angular, Svelte, Qwik, Solid, React Native, and other targets. It supports cross-framework design systems and Figma-to-code synchronization, but is distinct from the Builder.io visual builder product.

open-sourceOpen Source

Figma Console MCP

Turn a Figma design system into a programmable API for AI assistants

Figma Console MCP is open-source design-system infrastructure that exposes Figma to AI assistants through MCP. It supports structured extraction, design creation and editing, debugging, accessibility audits, and bidirectional design-token workflows across local, remote read-only, and paired cloud modes; it is not a generic one-click Figma-to-code exporter.

open-sourceOpen SourceTelemetry
OpenUI logo

OpenUI

Open-source UI generation from natural-language prompts

OpenUI is an Apache-2.0 design-to-code tool from W&B that turns natural-language interface prompts into live HTML previews and frontend code. Teams can run it locally or with Docker, connect OpenAI, Groq, LiteLLM-compatible providers, or Ollama, and export generated UI toward React, Svelte, Web Components, and related workflows. It fits rapid UI mockups where developers want editable code instead of screenshots.

open-sourceOpen SourceTelemetry
Figma MCP Server logo

Figma MCP Server

Official remote MCP server for design-to-code and write-to-canvas Figma workflows.

Figma MCP Server is Figma’s official remote Model Context Protocol surface for design-to-code agents. It gives supported clients structured design context, variables, components, selected-frame code context, Code Connect mappings, and beta write-to-canvas tools for creating or updating native Figma frames from an MCP client while keeping the workflow tied to Figma files.

freemiumTelemetry
OpenPencil logo

OpenPencil

AI-native open-source design editor and Figma alternative

OpenPencil is an AI-native, open-source design editor for teams that want a Figma-like canvas with source-visible code and experimental AI design workflows. It is best framed as OpenPencil by the open-pencil project, separate from the same-name ZSeven-W repo, and useful for early UI prototyping, design-to-code exploration, and open-source visual editing pilots.

open-sourceOpen Source

Talk to Figma MCP

Read/write MCP bridge between AI coding agents and Figma

Talk to Figma MCP is an MIT-licensed bridge from Grab that connects Cursor, Claude Code, and other MCP-capable agents to Figma through a local MCP server, WebSocket bridge, and Figma plugin. Unlike read-only context servers, it can inspect selections, create or modify nodes, update text in bulk, and automate design operations, so teams should review permissions before enabling write access.

open-sourceOpen SourceTelemetry