-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
feat(nuxt): usePreviewMode
composable
#21705
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
Conversation
Hey @danielroe, my first time here! Would love any feedback π |
/trigger release |
π Release triggered! You can now install nuxt@npm:nuxt3@pr-21705 |
Highlighting notes by @danielroe: #15639 (comment) (added myself as reviewer to check on nitro side) |
I don't think that i fully understand what provider aware means and nitro job in preview mode. Could you provide some more details ? |
usePreviewMode
composableusePreviewMode
composable
Rely only on current `useState` call and simplify a bit
Co-authored-by: Daniel Roe <[email protected]>
CI failed because of Lychee error on: https://stackoverflow.com/help/minimal-reproducible-example and other two tests failed with not related changes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! β€οΈ
And apologies for how long it's taken to get this in π
No worries. I am glad to participate in Nuxt community β€οΈ |
@logotip4ik: Your claim has been rewarded! Please complete your Algora onboarding to collect the bounty. |
π Linked issue
resolves #15639
β Type of change
π Description
Adds
usePreviewMode
composable that will forceuseAsyncData
anduseFetch
to make new requests even if payload was thereπ Checklist