2 ms·
I've been building something with Svelte 3 for about 6 months now. - As should be clear in the article, it's very easy to pick up. In the first couple of weeks
by nailer 7y ago
I've been building something with Svelte 3 for about 6 months now.
- As should be clear in the article, it's very easy to pick up. In the first couple of weeks I got compiler errors, and kept having to look at how props and binding worked in the tutorial, but now I just make components without having to really think about Svelte.
- TS support is on the way (yaay)
- I'd like to know more about server-side rendering on Lambda - ie, Sapper currently wants to use something persistent like Express, but that really shouldn't be necessary.
- TehShrike 7y agoI've used Svelte to generate static HTML, it's pretty great at it. If you pass generate: 'ssr' to the compile function https://svelte.dev/docs#svelte_compile https://svelte.dev/docs#svelte_compile you get JS that can be used to generate static HTML in a Lambda or anywhere else
- wirahx 7y agoSapper can generate static html for lambda or anything else i f you run `npm run export`. In fact the ideal way to use Sapper is without express/polka.
- nailer 7y agoHah brill. It might just be the tutorials, which seem focused on using express or something with express-like middleware. I'll do some further investigation. Thanks.