rx-value-react
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

RxValue React

Adds a single abstract class, RxComponent. This component extends from React's Component class, adding seamless integration with the rx-value library.

Extend from RxComponent and implement the configureState method to return an RxValue. The component will automatically subscribe to the RxValue when mounting and unsubscribe when unmounting. No additional call to setState() is necessary.

Readme

Keywords

Package Sidebar

Install

npm i rx-value-react

Weekly Downloads

0

Version

0.2.0

License

ISC

Unpacked Size

3.12 kB

Total Files

8

Last publish

Collaborators

  • nfcopier