Skip to content

Commit

Permalink
Update observable-state.md (#3814)
Browse files Browse the repository at this point in the history
  • Loading branch information
xdlrt authored Jan 13, 2024
1 parent 620f78c commit df7e1eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/observable-state.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,8 @@ However, `makeAutoObservable` cannot be used on classes that have super or are [
Inference rules:

- All _own_ properties become `observable`.
- All `get`ters become `computed`.
- All `set`ters become `action`.
- All `getters` become `computed`.
- All `setters` become `action`.
- All _functions_ become [`autoAction`](#autoAction).
- All _generator_ functions become `flow`. (Note that generator functions are not detectable in some transpiler configurations, if flow doesn't work as expected, make sure to specify `flow` explicitly.)
- Members marked with `false` in the `overrides` argument will not be annotated. For example, using it for read only fields such as identifiers.
Expand Down

0 comments on commit df7e1eb

Please sign in to comment.