Skip to content
loading...

YPSKA #9 Svelte

hfahlstedt profile image Håkan Fahlstedt github logo ・1 min read  

You should probably know about... (17 Part Series)

1) YSPKA #1: Pulumi 2) You should probably know about... 3 ... 15 3) YSPKA #2: gRPC 4) YSPKA #3: Dapr 5) YSPKA #4: Plop JS 6) YPSKA #5 Next.js 7) YPSKA #7 Static site generators 8) YPSKA #8 Headless CMS 9) YPSKA #9 Svelte 10) YPSKA #10 Runtypes 11) YPSKA #11 GROQ 12) YPSKA #12 Immer 13) YPSKA #13 Rollup 14) YPSKA #14 Pupeteer 15) YPSKA #15 Curl 16) YPSKA #15 Taking a break 17) YPSKA #16 lit-html

So you're building a new website? Time to choose framework? React, Angular or Vue? Why not try out Svelte? In my opinion it looks very promising. It take a different approach than for instance React and Vue, instead of doing all the wiring at client-side it "compiles" your code into a more browser-digestible format at build time. This can have a great impact on performance. As a bonus, Svelte can also detect problems with your html at build time and notify you about that.

There's a great tutorial to get started, so there's no reason for you not to dive into the Svelte world right now.

twitter logo DISCUSS (2)
Discussion
markdown guide
 

Why not use svelte? Because the ts support is awfull (i tried it in a few side projects and im not going back until they add first class ts support)

 

That's actually a reason I don't use it extensively yet. I fully agree, and they are aware of this themselves too. But I still think it is an interesting framework.

Classic DEV Post from Jul 26 '19

🎩 JavaScript Enhanced Scss mixins! 🎩 concepts explained

In the next post we are going to explore CSS @apply to supercharge what we talk about here....

Håkan Fahlstedt profile image
Senior fullstack developer that loves technology and sharing knowledge.