3 ms·
> They all look complicated and require lots of configs and plumbing to get started. I felt the same way so I made my own full-stack "framework" just for me ce
by Glench 5y ago
> They all look complicated and require lots of configs and plumbing to get started.
I felt the same way so I made my own full-stack "framework" just for me centered around the Svelte component library which I love:
https://github.com/Glench/full-stack-svelte-prototype/ https://github.com/Glench/full-stack-svelte-prototype/
Been using it in production and really really happy with it. Obviously kind of stinks to not have community support but so far it hasn't been a huge issue.
It basically sets up all the crap that I don't want to have to think about while keeping a tight coupling between the front-end and back-end (which is how I develop) — clear separation of code that runs on the server vs the client (with code splitting and CSS generation), rendering pages on server and hydrating client components, communicating between the server and client, re-rendering components when new data arrives. It really fits my needs well.
- yblu 5y agoThanks. What do you think about SvelteKit? I looked at Svelte, liked it a bit and went on to explore SvelteKit to see how the API/SSR/route was handled but I couldn't get through their docs. Maybe I should find a better tutorial to evaluate it.
- Glench 5y agoOoh, if you liked what you saw of Svelte, you might like these videos that do a great job explaining some of its benefits: https://www.youtube.com/watch?v=AdNJ3fydeao https://www.youtube.com/watch?v=AdNJ3fydeao and https://www.youtube.com/watch?v=BzX4aTRPzno https://www.youtube.com/watch?v=BzX4aTRPzno SvelteKit is very new and I haven't had a chance to use it yet, but my own framework was directly inspired by it. SvelteKit does a lot and looks great — fantastic developer experience, deploys to lots of types of services, SSR/SSG/client-side routing support, etc. And it seems like a great thing for Svelte to have as a default way for developers to start making Svelte components. Personally, I'm going to wait till SvelteKit a bit more mature before I dig in, but I'm guessing I'll end up rewriting my framework on top of SvelteKit at some point.
- yblu 5y agoI've just finished watching the 1st video, it's awesome. Thanks for sharing!