Skip to content

Is there a way to keep the pending status when using initialData/placeholder? #261

Discussion options

You must be logged in to vote

Using a local computed seems like a good solution. You could also add a plugin that adds the property you want to on the actions create/extend and fetch. Take a look at the plugins folder, (e.g. https://github.com/posva/pinia-colada/blob/main/plugins/delay/src/index.ts)

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@franciscohermida
Comment options

@franciscohermida
Comment options

@posva
Comment options

Answer selected by franciscohermida
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants