-
-
Notifications
You must be signed in to change notification settings - Fork 10
docs: Enhance documentation for vike-vue-pinia and vike-vue-query #213
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
Co-authored-by: 4350pChris <20907452+4350pChris@users.noreply.github.com>
@4350pChris 👍 Let me know when this is ready for review.
Progressive rendering: The rest of your page renders while data is being fetched
Is that true? I don't think Vue supports that?
This should be moved up and deduped.
Otherwise this is quite a neat addition indeed.
How about we merge both points into one point zero-config SSR
image This should be moved up and deduped.
Ah true. It must've taken that from React... Good catch.
@copilot Please implement the improvements from these past comments.
...features Co-authored-by: 4350pChris <20907452+4350pChris@users.noreply.github.com>
imageThis should be moved up and deduped.
Fixed in commit 2b47d82. I've removed the duplicate Benefits section and consolidated everything into the Features list at the top.
imageHow about we merge both points into one point
zero-config SSR
Done in commit 2b47d82. Merged both points into "Zero-config SSR: Store state is automatically serialized on the server and hydrated on the client — no manual setup needed".
Progressive rendering: The rest of your page renders while data is being fetched
Is that true? I don't think Vue supports that?
You're absolutely right. I've removed the progressive rendering claim from the documentation in commit 2b47d82. Vue doesn't support progressive rendering like React does with Suspense streaming.
Uh oh!
There was an error while loading. Please reload this page.
This PR addresses issue #135 by creating comprehensive documentation for the
vike-vue-piniaandvike-vue-querypackages in their respective README.md files, following the documentation style established byvike-react-query.Changes
vike-vue-query
Enhanced the README.md from 117 to 261 lines with the following improvements:
useQuerywithonServerPrefetchfor SSRvike-vue-pinia
Enhanced the README.md from 107 to 205 lines with the following improvements:
pageContext.piniaaccess+data.tsfile, full store definition with initialization method, and clearer explanations of SSR behaviorDocumentation Style
Both READMEs now follow a consistent structure similar to
vike-react-query:Refinements Based on Review
These enhancements provide users with comprehensive guidance for integrating Pinia and TanStack Query into their Vike-Vue applications, with accurate explanations of SSR behavior, hydration, and best practices.
Fixes #135
Original prompt
Fixes #135
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.