Skip to content

Commit

Permalink
updated library information in README
Browse files Browse the repository at this point in the history
  • Loading branch information
srinivasayush committed Mar 28, 2021
1 parent 18cec01 commit ad5496b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
A React state management library built on top of RxJS and Observables

## Usage:
The library will cache data within your ObservableProvider, so you can grab values from a provider with the `useProvider`
hook - without re-fetching data.
```tsx
import React from 'react'
import { useProvider, ObservableProvider, refresh } from 'react-providerx'
Expand Down

0 comments on commit ad5496b

Please sign in to comment.