Skip to main content

One doc tagged with "pinia"

View all tags

Pinia — defining and splitting stores

Covers Pinia, which shares state across components. Measures the difference between option and setup stores, why storeToRefs becomes necessary, and the notification timing of $patch and $subscribe.