Community plugins
This page lists third-party plugins built by the community.
Want your plugin listed here?
- Add it to this page via a pull request
- Include a short description, repository link, and npm link
- Mention what it extends (queries, mutations, cache persistence, dev UX, …)
Naming and discoverability
Give it a clear name with the pinia-colada-plugin- prefix, and add the pinia-colada-plugin keyword to your package.json to help others find it.
Want to build your own plugin? See Writing plugins.
Recently Successful
Adds a recentlySuccessful ref to useMutation() results. It becomes true on success and automatically resets after a configurable duration.
- Extends: mutations
- Package:
pinia-colada-plugin-recently-successful - Repository: https://github.com/Barbapapazes/pinia-colada-plugin-recently-successful
- npm: https://www.npmjs.com/package/pinia-colada-plugin-recently-successful
Quick usage:
- Register it in
PiniaColadawithplugins: [PiniaColadaRecentlySuccessfulPlugin()]. - Use
recentlySuccessfulfromuseMutation().