Skip to content

Commit 530b3b0

Browse files
authored
Merge pull request #2013 from aeternity/vue-docs
docs: don't suggest `shallowReactive` since it is not working
2 parents e61cc85 + da36f55 commit 530b3b0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,14 +109,13 @@ classes reactive then the app may fail with
109109
110110
AeSdk and Contract classes doesn’t have a state intended to be tracked using reactivity. Therefore
111111
to solve this issue we suggest to avoid making their instances reactive. One of the ways is to use
112-
Vue's integrated utilities: [shallowRef], [shallowReactive]. The idea is to make reactive only the
112+
Vue's integrated utility: [shallowRef]. The idea is to make reactive only the
113113
root variable, to don't make it reactive in deep. You can find it implementation in the
114114
[æpp example].
115115

116116
[based on]: https://vuejs.org/guide/extras/reactivity-in-depth.html#how-reactivity-works-in-vue
117117
[not compatible]: https://github.com/tc39/proposal-class-fields/issues/106
118118
[shallowRef]: https://vuejs.org/api/reactivity-advanced.html#shallowref
119-
[shallowReactive]: https://vuejs.org/api/reactivity-advanced.html#shallowreactive
120119
[æpp example]: https://github.com/aeternity/aepp-sdk-js/tree/71da12b5df56b41f7317d1fb064e44e8ea118d6c/examples/browser/aepp
121120

122121
## Command Line Interface (CLI)

0 commit comments

Comments
 (0)