Skip to content

Packages to use React Suspense easily @suspensive/react, @suspensive/react-query(one of @tanstack/react-query's community resources)

License

Notifications You must be signed in to change notification settings

sungh0lim/suspensive

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Suspensive Libraries Logo - TypeScript/JavaScript packages to use React Suspense easily.

Manage asynchronous operations, timing, error handling, detecting intersection of elements, and caching easily

MIT License codecov CodSpeed Badge GitHub stars


Available Packages

This package offers components that leverage React Suspense to handle asynchronous operations gracefully. It includes components like Suspense, ErrorBoundary, and ErrorBoundaryGroup, along with utilities like Delay for managing timing in your React applications.

Key features: Suspense, ErrorBoundary, ErrorBoundaryGroup, Delay, and more.

This package enhances React Query with Suspense support, allowing for simpler and more declarative data fetching. It provides hooks like useSuspenseQuery and useSuspenseInfiniteQuery, which integrate seamlessly with React Suspense. Additionally, it includes QueryErrorBoundary for handling errors during data fetching.

Key features: useSuspenseQuery, useSuspenseQueries, useSuspenseInfiniteQuery, queryOptions, QueryErrorBoundary, Mutation, and more.

This package builds on the Jotai state management library, adding features that work well with React Suspense. It provides utilities for managing state using atoms, which can be easily integrated into Suspense-based workflows.

Key features: Atom, AtomValue, SetAtom, and more.

@suspensive/cache npm version npm npm bundle size

This package provides caching solutions that can be used within React applications. It includes hooks like useCache and useCacheStore, as well as providers for managing and storing cache data efficiently.

Key features: Cache, useCache, CacheStore, useCacheStore, CacheStoreProvider, and more.


Visit suspensive.org for docs, guides, API and more!

English | 한국어


Contributing

Read our Contributing Guide to familiarize yourself with Suspensive's development process, how to suggest bug fixes and improvements, and the steps for building and testing your changes.

Contributors

contributors


Toss

MIT © Viva Republica, Inc. See LICENSE for details.

About

Packages to use React Suspense easily @suspensive/react, @suspensive/react-query(one of @tanstack/react-query's community resources)

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 95.6%
  • JavaScript 4.1%
  • CSS 0.3%