Skip to content

sanity-io/react-rx

Folders and files

NameName
Last commit message
Last commit date
Mar 24, 2025
Feb 13, 2025
Mar 24, 2025
Oct 6, 2022
Jun 12, 2024
Oct 5, 2022
Jun 12, 2024
Jun 12, 2024
Apr 1, 2025
Jan 6, 2025
Oct 6, 2022
Jan 13, 2025
Apr 1, 2025
Apr 1, 2025
Jun 12, 2024
Jun 12, 2024
Jun 12, 2024
Jun 12, 2024
Nov 5, 2024
Nov 5, 2024

Repository files navigation

CI & Release npm version

react-rx-some-smaller

Hooks and utilities for combining React with RxJS Observables

Features:

  • Works well with Observables emitting values synchronously. You don't pay the re-render-on-mount tax.
  • Lightweight. Implemented on top of a small React Hook based core.
  • Full TypeScript support.

This package offers two slightly different utilities for working with RxJS and React:

  • A set of utilities for creating Reactive components
  • A set of React hooks for using with observables with React

Although they share a lot of similarities, and reactiveComponent is built on top of useObservable are not intended to be used together inside the same component as they represent two different programming styles.



Contributing and publishing new versions to npm

Run the "CI & Release" workflow. Make the default branch, current, should be preselected. Check "Release new version" and press "Run workflow'.

Semantic release will only release on configured branches, so it is safe to run release on any branch.