pinia icon indicating copy to clipboard operation
pinia copied to clipboard

🍍 Intuitive, type safe, light and flexible Store for Vue using the composition api with DevTools support

Results 60 pinia issues
Sort by recently updated
recently updated
newest added

There were no devtools unittests afaics, so I added a new file. Usually devtools are not loaded during unit tests, so I had to do the testing on the inner-most...

### Reproduction https://github.com/yoshrubin/pinia-ssr-bug ### Steps to reproduce the bug 1. run `yarn build && yarn start` ### Expected behavior To return a cached version of the getter ### Actual behavior...

contribution welcome
vue 2.x

Update some codes from English version document, and translate the comments into Chinese.

πŸ“š docs

getters ζ–‡ζ‘£δΈ­η€ΊδΎ‹δ»£η ε’Œη›Έε…³εΊ”η”¨οΌŒε―Όε‡Ίε˜ι‡ε’Œε―Όε…₯εη§°δΈδΈ€θ‡΄οΌŒηΌΊδΉδΈ€θ‡΄ζ€§ε’ŒθΏžθ΄―ζ€§

The docs reference three methods of using a store: - Using the store instance - Using computed properties - Using `storeToRefs()` These are blended together under "_Using the store_" and...

πŸ“š docs

When yarn installing this package, I receive the following error: ``` ➀ YN0000: β”Œ Resolution step ➀ YN0002: β”‚ @pinia/testing@npm:0.0.14 [329d6] doesn't provide vue (pa561a), requested by vue-demi ➀ YN0000:...

Another attempt to contribute to #1394 πŸ™‚ In tests, I'm getting various warnings because those tests are using duplicated names for stores. I'm not sure how to approach this in...

### Reproduction https://github.com/bodograumann/pinia-testing-dev-tools-compat ### Steps to reproduce the bug 1. Clone the repo 2. `npm install` 3. `npm run dev` 4. Open browser at http://localhost:5173 ### Expected behavior The testing...

πŸ§ͺ pkg:testing
πŸ§‘β€πŸ’» pkg:devtools

### Reproduction https://codesandbox.io/p/sandbox/cocky-butterfly-51pk2y?file=%2Fsrc%2Fstores%2Fcounter.js ### Steps to reproduce the bug 1. Click counter button 2. Check the `mutation` event on the Timeline tab in DevTools ### Expected behavior `oldValue` shows the...

contribution welcome
πŸ§‘β€πŸ’» pkg:devtools