Skip to content

bolasblack/react-components

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

289 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@c4605/react-components Coverage Status Netlify Status

Some useful react components.

Components

Hooks

  • useAsync (README.mdx): Hooks for loading data and handling asynchronous operations. Includes useAsync for automatic data loading and useAsyncFnFactory for manual control.
  • useEffectReducer (README.mdx): Inspired by Elm's TEA, this hook allows reducers to return both state and effects. Provides lifecycle management, automatic cancellation, and race-safe async operations.

Deprecated Components

Documention

Unit test

Run unit test

pnpm test

Run unit test in watch mode

  1. pnpm test:watch

Release

  1. cp .envrc.example .envrc
  2. Edit .envrc
  3. Install direnv
  4. direnv allow

About

Some useful react components.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 7