4 ms·
Would love to try this. Is there some kind of open-source kitchen sink application that outlines best practices for concepts like: - Internationalization - Ha
by fareesh 8y ago
Would love to try this. Is there some kind of open-source kitchen sink application that outlines best practices for concepts like:
- Internationalization
- Handling auth w/ SSR
- Server side pre-rendering (in case I want to pre-render a template and conditionally cache/expire the HTML for N hours, for better perf instead of rendering on each request)
- SEO / Helmet type stuff
- rich_harris 8y agoWe haven't yet developed a full set of best practices around i18n, but the SSR/SEO stuff comes for free with the Sapper model. See https://github.com/sveltejs/realworld https://github.com/sveltejs/realworld for an auth example - better and more self-explanatory ones to come (project is still in early stages)