You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🆒 Your use case
I have several components which are using fetch hook, and these components may use over 100 times in total on a page. I need to add fetchKey for them so Nuxt can get the correct value. I want to reuse the data in setup hook to generate the fetchKey.
🆕 The solution you'd like
Describe what you want to happen.
// thisuseFetch(()=>{...},{key: 'foo'})// and thisuseFetch(()=>{...},{key: (getCounter)=>`foo:${getCounter('foo')}`})
🔍 Alternatives you've considered
Have you considered any alternative solutions or features?
ℹ️ Additional info
Is there any other context you think would be helpful to know?
The text was updated successfully, but these errors were encountered:
🆒 Your use case
I have several components which are using
fetch
hook, and these components may use over 100 times in total on a page. I need to addfetchKey
for them so Nuxt can get the correct value. I want to reuse the data insetup
hook to generate thefetchKey
.🆕 The solution you'd like
Describe what you want to happen.
🔍 Alternatives you've considered
Have you considered any alternative solutions or features?
ℹ️ Additional info
Is there any other context you think would be helpful to know?
The text was updated successfully, but these errors were encountered: