Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add fallbackData option #12

Merged
merged 3 commits into from
Aug 9, 2022
Merged

Conversation

edumudu
Copy link
Owner

@edumudu edumudu commented Aug 9, 2022

Add option fallbackData.

The value passed to this option will be returned to the data from the composable while the composable not finish its request. Also can be used for prefetched data

@edumudu edumudu added the enhancement New feature or request label Aug 9, 2022
@edumudu edumudu self-assigned this Aug 9, 2022
@edumudu edumudu merged commit 708b7c6 into release/v1.5.0 Aug 9, 2022
@edumudu edumudu deleted the feat/add-fallback-data branch August 9, 2022 02:12
edumudu pushed a commit that referenced this pull request Aug 9, 2022
# [1.5.0](v1.4.0...v1.5.0) (2022-08-09)

### Features

* add `fallbackData` option ([#12](#12)) ([708b7c6](708b7c6))
* add event callbacks onSuccess and onError ([#11](#11)) ([caefe9b](caefe9b))
@github-actions
Copy link

github-actions bot commented Aug 9, 2022

🎉 This PR is included in version 1.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant