3 ms·
This is pretty good. I like the concept where api and ui is in the same file. Different from sapper and nextjs but pretty interesting.
by pyros2097-dev 5y ago
This is pretty good. I like the concept where api and ui is in the same file. Different from sapper and nextjs but pretty interesting.
- Glench 5y agoThanks! Yeah, I wanted a way to simplify/unify the front and back-ends while retaining flexibility to implement anything I need to. And of course it needs to be fast and have a small bundle size (thanks Svelte!). It's pretty close to SvelteKit with a few more assumptions baked in. Some people balk at having both back and front-end code in the same file but I like it since most of the time the code for both needs to be pretty tightly-woven in my experience. Also you can always put the back-end code in a separate file and import it for cleanliness :)