Skip to content

Commit

Permalink
Update docs/enabling-decorators.md
Browse files Browse the repository at this point in the history
Co-authored-by: Rick Pastoor <rickpastoor@gmail.com>
  • Loading branch information
Matchlighter and rickpastoor authored Mar 16, 2023
1 parent 620aaca commit 2fd5d0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/enabling-decorators.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ We do not recommend new codebases that use MobX use legacy decorators until the

## MobX Core decorators {🚀}

MobX before version 6 encouraged the use of ES.next decorators to mark things as `observable`, `computed` and `action`. While MobX 6 recomneds against using these decorators (an instead using [`makeObservable` / `makeAutoObservable`](observable-state.md)), it is still possible.
MobX before version 6 encouraged the use of ES.next decorators to mark things as `observable`, `computed` and `action`. While MobX 6 recommends against using these decorators (an instead using [`makeObservable` / `makeAutoObservable`](observable-state.md)), it is still possible.

```javascript
import { makeObservable, observable, computed, action } from "mobx"
Expand Down

0 comments on commit 2fd5d0f

Please sign in to comment.