nuxt / nuxt/devtools

feat: reset data

Open
#844 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
3.3k
Forks
214
Avg merge
13h 22m
Merged PRs (30d)
18

Description

🆒 Your use case

Often times when setting up pre-loaded, initial-state visuals, I find myself resetting the state of loaded data completely, before the first request finishes.

🆕 The solution you'd like

It'd be nice to be able to imitate this directly in the devtools much like the super nice re-fetch functionality, by being able to wipe the state completely, and then afterwards being abler to trigger a re-fetch with the existing functionality.
Image

🔍 Alternatives you've considered

No response

ℹ️ Additional info

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing devtools re-fetch functionality described in the issue and trace how loaded data state is managed. Done means the devtools can wipe the loaded state completely and then use the existing re-fetch action to request the data again.

Written by the indexing model from the issue text.

Assessment

Tech stack
nuxt, typescript
Domain
devtools
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.