]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commit
docs: change `data` with `state` (#2980)
authorLeo <3853621+leoelz@users.noreply.github.com>
Tue, 13 May 2025 17:01:06 +0000 (14:01 -0300)
committerGitHub <noreply@github.com>
Tue, 13 May 2025 17:01:06 +0000 (19:01 +0200)
commit1ec622d30131672a7cf5a752e0e8784181ae9aa0
tree97d2ab6c6f3ac52d0389061edf66351883547d20
parentd5958b924aabe9c4a5b47f7122ca770d7ce9f506
docs: change `data` with `state` (#2980)

Every piece in the object that returns `state` is what must be declared.
Even though we can think of `state` *as* the `data` of the store, but I believe that is confussing to use both terms indistinctly.
packages/docs/core-concepts/state.md