Hacker News new | past | comments | ask | show | jobs | submit login

Svelte and SvelteKit are absolutely worth playing with. It’s fun & refreshing. The svelte official tutorial is also nicely well made



Just a warning that Svelte kit is going through a major refactor and any work you do will have to be ported, with a lot of changes required to file structure and some functionality.


but also by now many people have done the port and most reported it taking 1-2 hours, with the help of the svelte-migrate tool.


After some time spent with Angular/React I must say I enjoy using Svelte for building smaller apps. It is simple and fast.


What about not-so-smaller apps?


I ported an Angular Universal app over to Svelte after one of the Angular major upgrades failed due to an Angular Universal bug that been around for years. Working with Svelte has been been great. I also like custom architecture since large apps will need custom architecture anyways. After porting the app over, it was easier to refactor the code without a heavy framework like Angular getting in the way.

I also maintain a large app in SolidJS. I like SolidJS even more than Svelte, especially for large projects but also for small projects.

Svelte has some disadvantages with tooling & some issues with Typescript integration. SolidJS allows more function decomposition & general flexibility in creating smaller more focused components, since the jsx/tsx components are plain old javascript functions. In addition, SolidJS javascript output is smaller than Svelte when the app hits a fairly low level of complexity. The engineering of SolidJS is more accessible than Svelte, so it's easier to understand what is going on.


This is really interesting, thanks


That's what this project is for, ofc.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: