Skip to content
This repository was archived by the owner on Jan 13, 2021. It is now read-only.

Update api.md #28

Open
wants to merge 1 commit into
base: beta-update
Choose a base branch
from
Open
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 api.md
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,7 @@ Type of stateAsRefs:

// The ref and the original property is "linked"
state.foo++
console.log(stateAsRefs.foo) // 2
console.log(stateAsRefs.foo.value) // 2

stateAsRefs.foo.value++
console.log(state.foo) // 3
Expand Down