Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandrHoroshih committed Jul 9, 2023
1 parent 2013373 commit 1e35ac2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ export async function getStaticProps() {
};
}
```
☝️ This `scope.getState` pattern works the same way for any other Next.js Pages Router server-side APIs, as well as for App Router APIs (see below)

You're all set. Just use effector's units anywhere in components code via `useUnit` from `effector-react`.

Expand Down

0 comments on commit 1e35ac2

Please sign in to comment.