Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo in docs #3674

Merged
merged 2 commits into from
Jul 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion website/docs/essentials/side_effects.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ For example, we can disable "auto-dispose" (which we will see later) by writing

When a `@riverpod` annotation is placed on a class, that class is called
a "Notifier".
The class must extend `_$NotifierName`, where `NotifierName` is class name.
The class must extend `_$NotifierName`, where `NotifierName` is the class name.

Notifiers are responsible for exposing ways to modify the state of the provider.
Public methods on this class are accessible to consumers using `ref.read(yourProvider.notifier).yourMethod()`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ For example, we can disable "auto-dispose" (which we will see later) by writing
<!---
When a `@riverpod` annotation is placed on a class, that class is called
a "Notifier".
The class must extend `_$NotifierName`, where `NotifierName` is class name.
The class must extend `_$NotifierName`, where `NotifierName` is the class name.
-->
当 `@riverpod` 注解被放置在一个类上时,该类被称为“通知者程序”。
类必须扩展 `_$NotifierName` ,其中 `NotifierName` 是类名。
Expand Down
Loading