suspensive
suspensive copied to clipboard
Manage asynchronous operations, timing, error handling, detecting intersection of elements, and caching easily and declaratively
# Overview AI assistants (GitHub Copilot, Cursor, etc.) need structured context to understand Suspensive's monorepo architecture, conventions, and patterns. This adds 1,270 lines of documentation across strategic locations to provide...
# Overview Addresses issue requesting improved documentation to make @suspensive/react easier to understand and use. The existing "Why need to use?" page had minimal content (3 bullet points). Users needed...
### Package Scope etc ### Description suspensive libraries usage chart in suspensive.org ### Possible Solution _No response_ ### etc. _No response_
### Package Scope @suspensive/react ### Description Make it easier to use @suspensive/react, so we need to improve suspensive.org. ### Possible Solution _No response_ ### etc. _No response_
## Overview This PR adds a new `errorBoundaryProps` utility function to `@suspensive/react`, similar to `@tanstack/react-query`'s `queryOptions` helper. This utility simplifies the creation of reusable ErrorBoundary configurations with proper TypeScript type...
### Package Scope @suspensive/react ### Description Hi, I'm using `suspensive` at my company. I'd like to suggest supporting for `Suspense.with` with `fallback` **callback** prop (called render prop). I think this...
### Package Scope etc ### Description https://viteplus.dev ### Possible Solution _No response_ ### etc. _No response_
### Package Scope @suspensive/react ### Description If ErrorBoundary has shouldCatch and the React Component method has componentDidCatch, isn't it better to name onError as onCatch? Callback passed by onError prop...
### Package Scope @suspensive/react ### Description I wanna get errorBoundaryProps util function like `@tanstack/react-query` queryOptions Idea by @ha1fstack ### Possible Solution _No response_ ### etc. _No response_
- [x] Explore repository structure and understand ErrorBoundary implementation - [x] Verify current behavior: non-Error objects (null, string, number, object) are NOT converted to Error instances - [x] Update `getDerivedStateFromError`...