DEV Community

Youssef-mic
Youssef-mic

Posted on

What framework is the best?

So, the last couple of months I got bored of JS and programming in general, but now I want to make a comeback.
I want to start over from scratch so I'll be moving away from my old css framework (TailwindCSS) to a new one (Mantine UI).
And I wanted to get rid of ReactJS also for a while, but I am stuck, here are my options:

  1. SolidJS: The fast and reliable, but I am a bit scared 'cause solid start is in beta, and NextJS was a solid part of my workflow (no pun intended)
  2. Svelte: Also fast, but this one scares me a little because it is not very familiar and I'm not sure if I'll pick it up. PS. If you have another framework suggest it please, and thank you.

Top comments (10)

Collapse
 
wraith profile image
Jake Lundberg

As a programmer/developer/engineer (choose your preferred title) it's important to not pigeonhole yourself. You already experienced one of the big reasons for this...you got bored... There are other important reasons not to do this, but the reason I want to bring this up is that there are so many things to learn and discover, even just in web development, that you could literally spend a lifetime learning about it, and still never learn it all.

So rather than choosing a single new framework to work with, might I suggest spending some time dabbling. Play around with Astro, Vue, Angular, Svelte, Solid, Lit, Node, Deno, Bun, Mantine, vanilla CSS (I will never understand why so many people shy away from this one!), etc. Spend a week or 2 on each one. Build something with it from scratch. Learn a little about it. What it might be good for...what it probably shouldn't be used for. This will make you such a better [insert chosen title] and will allow you to then choose the right tool for the job later.

With all that said, you should totally choose to play with SvelteKit first 🤣 It's such a great tool to use, and the community is amazing!

Collapse
 
webjose profile image
José Pablo Ramírez Vargas

In my humble opinion, Svelte is the uncrowned king. It makes happy developers, as demonstrated by the most recent StackOverflow poll, and it can be learned in one day. Yes, 100% of it. It just works, plus brings animation to the table. It is FUN.

See this timer, for example. I did it for a presentation that required me to do it in React as well. The React one required more work and I still am unable to make it show the initial count value. It always updates after one second, so the initial value is never shown.

Collapse
 
stevetaylor profile image
Steve Taylor

Long time React day-jobber here. Svelte makes web app development fun again. And by fun I mean easy and fast.

Collapse
 
delusional profile image
Monimoy Saha

Well as a sveltekit developer, I suggest you should move ahead with sveltekit at first, to learn what a meta framework is. Also very easy to learn. Then go ahead and implement different parts of the website with different framework based on use case using Astro or similar framework. It would help you to understand core concepts of framework.

Collapse
 
youssefmic profile image
Youssef-mic

I completed the move actually, and I feel like I'm in heaven
The thing I've noticed for now is how easy it's to pass props, in react it was kind of a hassle

Collapse
 
delusional profile image
Monimoy Saha

Agreed. Sveltekit simplifies little but hectic development things.

Collapse
 
code42cate profile image
Jonas Scholz

You said you want to get rid of React, any specific reason why? Knowing your reason makes it easier to suggest something that fits you well :)

Collapse
 
youssefmic profile image
Youssef-mic

I got bored, also I am just fed up, react sometimes is just weird, useEffect, useState, props and more

Collapse
 
youssefmic profile image
Youssef-mic

I was looking for something new, because I took a break because of a competition I did in C++ and now I am bored with react