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 13, 2023
1 parent 1e35ac2 commit 605b565
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,9 @@ export default async function Page({ params }: { params: { slug: string } }) {
☝️ It works the same for any other of Next.js special functions

That's it.
Just [write effector's models as usual](https://effector.dev/) and use effector's units anywhere in components code [via `useUnit` from `effector-react`](https://effector.dev/docs/api/effector-react/useUnit) - and don't forget about `use client` for client components:
Just [write effector's models as usual](https://effector.dev/) and use effector's units anywhere in components code [via `useUnit` from `effector-react`](https://effector.dev/docs/api/effector-react/useUnit)

#### Don't forget about `use client` for client components:

```tsx
// src/features/blog/post.view.tsx
Expand Down

0 comments on commit 605b565

Please sign in to comment.