Skip to content

Commit

Permalink
docs: update suspense badge (#2309)
Browse files Browse the repository at this point in the history
  • Loading branch information
himself65 authored Dec 26, 2023
1 parent 82ee447 commit 1198f35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const atoms = [count1, count2, count3, ...otherAtoms]
const sum = atom((get) => atoms.map(get).reduce((acc, count) => acc + count))
```
### Derived async atoms <img src="https://img.shields.io/badge/-needs_suspense-black" alt="needs suspense" />
### Derived async atoms [<img src="https://img.shields.io/badge/-needs_suspense-black" alt="needs suspense" />](https://react.dev/reference/react/Suspense)
You can make the read function an async function too.
Expand Down

1 comment on commit 1198f35

@vercel
Copy link

@vercel vercel bot commented on 1198f35 Dec 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.