Skip to content

Commit

Permalink
Merge branch 'docs' of https://github.com/drarmstr/Recoil into docs
Browse files Browse the repository at this point in the history
  • Loading branch information
drarmstr committed May 26, 2020
2 parents 8c31da3 + 647b997 commit 3b3219b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/guides/asynchronous-state-sync.md
Expand Up @@ -23,7 +23,7 @@ function CurrentUserInfo() {

## Sync State From Server

We can subscribe to asynchronous changes in the remote state and update the atom value to match. This can be done using standard React [`useEffect()`]() hook or other popular libraries.
We can subscribe to asynchronous changes in the remote state and update the atom value to match. This can be done using standard React [`useEffect()`](https://reactjs.org/docs/hooks-reference.html#useeffect) hook or other popular libraries.

```jsx
function CurrentUserIDSubscription() {
Expand Down

0 comments on commit 3b3219b

Please sign in to comment.