2.0.0 • Published 2 years ago

react-with-rxjs v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

npm GitHub Workflow Status npm bundle size GitHub

React with RxJS

A single API for binding RXJS Observables to your React components.

Install

npm install react-with-rxjs

Usage

const useTicks = bind(() => {
	return { tick: interval(100).pipe(take(1000)) };
});

function Ticks() {
	const { tick } = useTicks();
	return (
		<div style={{ textAlign: 'center' }}>
			<h2>Timer: {tick}</h2>
		</div>
	);
}

Documentation

Full documentation can be found here

License

MIT License | Copyright (c) 2022 Samuel Carnell

2.0.0

2 years ago

1.2.1

2 years ago

1.2.0

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago