{"repo":"toss/suspensive","free":true,"listed":false,"github":"https://github.com/toss/suspensive","clone":"git clone https://github.com/toss/suspensive.git","description":"All-in-one for React Suspense — ErrorBoundary with shouldCatch, clientOnly to skip SSR for a boundary, Delay, and more","language":"TypeScript","stars":1041,"topics":["react","suspense","errorboundary","ssr","suspensive","react-query","async"],"license":"MIT","category":"ui-components","readme_excerpt":"What is Suspensive? React gives you Suspense, lazy, and an interface to build Error Boundaries — but using them in real applications reveals gaps. Suspensive fills those gaps with declarative components and hooks. - shouldCatch — catch only specific error types, let others propagate - ErrorBoundaryGroup — reset multiple error boundaries at once, no prop drilling - clientOnly — skip SSR for a Suspense boundary (fallback on server, children on client) - Delay — prevent flash-of-loading-state with render props for smooth fade-in - reset — built into the fallback props, no external state needed Packages Package Description Version ----------------------------------------------------------------------------- -------------------------------------------------------------- ------------------------------------------------------------------------------------------------------------------------------------------------------------- @suspensive/react Suspense, ErrorBoundary, ErrorBoundaryGroup, Delay, ClientOnly @suspensive/react-query SuspenseQuery, SuspenseInfiniteQuery, Mutation, PrefetchQuery @suspensive/jotai Atom, AtomValue, SetAtom for Jotai integration @suspensive/codemods Automated migration codemods Key Features - with shouldCatch — catch only the errors you want (comparison with react-error-boundary) - — reset multiple error boundaries at once, no prop drilling - with clientOnly — declaratively skip SSR for a boundary when you need client-only rendering - — declarative data fet","default_branch":null,"files":null,"tree":[],"storefront":"/r/toss","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/toss/suspensive/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}