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
docs: refactor ssr #166
docs: refactor ssr #166
Conversation
Also btw my plan is to then ping all the people I know who build SSR tools to add their tool to that list. But I'd suggest to first focus on the refactor to quickly get it merged first. |
README.md
Outdated
- [vite-ssr](https://github.com/frandiox/vite-ssr) ![react] ![vue3] - Server-side rendering. | ||
- [vite-plugin-ssr](https://github.com/brillout/vite-plugin-ssr) ![react] ![vue3] ![vue2] ![svelte] - Like Nuxt/Next.js but as a do-one-thing-do-it-well plugin. | ||
|
||
### Frameworks & Boilerplates |
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.
Think we should separate them
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.
Done.
|
||
- ![v3] [vite-ssg](https://github.com/antfu/vite-ssg) - Server-side generation. | ||
- ![v3] [vite-ssr](https://github.com/frandiox/vite-ssr) - Server-side rendering. | ||
- ![v3] [vitedge](https://github.com/frandiox/vitedge) - Edge-side rendering with fullstack utilities. | ||
|
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.
If we extract SSR into another section, maybe it's better to add a line saying that "Refer to the SSR section for SSR supports"
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.
What do you mean?
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.
Like, I might look into the Vue section and trying to find the SSR support for Vue. But now we move it to another section, which might confuse ppl like "Oh Vite does not support SSR for Vue?" or some sort of the things.
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.
Ah, I see.
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.
Done.
I've decided to remove the SSR Boilerplates section because the whole idea here is to let users know about higher-level alternatives to Vite's native SSR API; boilerplates are not contributing here.
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
Thanks! |
@brillout Thanks for the PR! Would be better indeed to change I think the main benefit of this library is that it sets up most of SSR for you with a relatively small API surface, so perhaps just "Simplified Server Side Rendering" could work? I'm so bad at names and descriptions 😂 -- Edit: looks like I'm late for 10 seconds lol |
@frandiox Yea but there is actually a bug in the merged PR so I'm creating a second PR :D Your chance to ride along :P. Ok I'll modify to |
@brillout if you mean the #ssr-1 bug, yeah I am aware of it and already fixed |
Ah, actually antfu was actually faster, it's already fixed. But yea would be nice to improve the description of The reason I was aiming for something like |
Feel free to send PR to modify the descriptions of your packages whenever you found a better name :) |
Rendered version: https://github.com/brillout/awesome-vite/tree/refactor-ssr#ssr.
Follow up of https://discord.com/channels/804011606160703521/804061937029218334/844266963244941348.
The plan is to add a link to the SSR section at https://vitejs.dev/guide/ssr.
@frandiox How about we change the description of
vite-ssr
? MaybeSSR with bring your own router
?cc @patak-js