Skip to content

Commit d299626

Browse files
committed
change readme bulletpoints
1 parent 0c8084d commit d299626

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,17 @@
33
[![NPM](https://img.shields.io/npm/dm/react-async-hook.svg)](https://www.npmjs.com/package/react-async-hook)
44
[![Build Status](https://travis-ci.com/slorber/react-async-hook.svg?branch=master)](https://travis-ci.com/slorber/react-async-hook)
55

6-
- Simplest way to get async result in your React component
7-
- Very good, native, Typescript support
6+
- Simplest way to get async result / feedback in your React component
7+
- Works with any React platform (ReactNative, Expo...)
88
- Refetch on params change
9+
- Handle async callbacks (mutations)
910
- Handle concurrency issues if params change too fast
1011
- Flexible, works with any async function, not just api calls
1112
- Support for cancellation (AbortController)
1213
- Possibility to trigger manual refetches / updates
1314
- Options to customize state updates
14-
- Handle async callbacks (mutations)
15+
- Very good, native, Typescript support
16+
- Small and no dependency
1517

1618
## Usecase: loading async data into a component
1719

0 commit comments

Comments
 (0)