Skip to content

Commit

Permalink
docs: fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
cprecioso committed Jul 31, 2024
1 parent c1ccea9 commit 0e204e6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ $ npm i -D @cprecioso/react-suspense # if you use npm
$ yarn add --dev @cprecioso/react-suspense # if you use yarn
```

## API

_See the [docs](https://cprecioso.github.io/react-suspense/)_

## Quick-start

A simple way to do a `fetch` while suspending the tree
Expand Down Expand Up @@ -44,10 +48,6 @@ You can wrap these components in `Suspense`s, handle data fetching errors in
your regular error boundaries, and use `useDeferredValue` and `startTransition`
to defer the loading to the background.

## API

_See the [docs](https://cprecioso.github.io/react-suspense/)_

## Guide

This library returns some functions named `suspend`. `suspend()` can be called
Expand Down

0 comments on commit 0e204e6

Please sign in to comment.