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

Respect default prop of async data when calling clearNuxtData #26269

Closed
3 of 4 tasks
DamianGlowala opened this issue Mar 15, 2024 · 1 comment · Fixed by #27295
Closed
3 of 4 tasks

Respect default prop of async data when calling clearNuxtData #26269

DamianGlowala opened this issue Mar 15, 2024 · 1 comment · Fixed by #27295
Assignees

Comments

@DamianGlowala
Copy link
Member

Describe the feature

Currently, calling clearNuxtData sets the data to undefined, regardless of the default prop. It might be good to consider respecting it.

Context: #26259 (comment)

Additional information

  • Would you be willing to help implement this feature?
  • Could this feature be implemented as a module?

Final checks

@danielroe
Copy link
Member

We would probably also need to rename to resetNuxtData and clear => reset...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Later
Development

Successfully merging a pull request may close this issue.

2 participants