DEV Community

Discussion on: Why SvelteJS may be the best framework for new web devs

Collapse
 
revskill10 profile image
Truong Hoang Dung • Edited

Seriously, React Suspense for data fetching , plus React Hooks for business logic are gonna throw other frameworks out of water.

Collapse
 
paulmaly profile image
PaulMaly • Edited

Seriously? React Suspense + React Hooks will inflate fatty React even more. No thanks!

Collapse
 
antony profile image
Antony Jones

React Hooks is what Svelte 3 is inspired from, so your comment already shows a distinct lack of knowledge and ignorance towards the subject matter.

Having said that, Suspense looks interesting and there isn't a way to replicate the exact same sort of thing in Svelte right now.

However, framework choice is about trade-offs, and right now, React has far more impactful trade-offs when compared to Svelte or Vue. I don't think anything is getting blown out of the water just yet.

Collapse
 
mateiadrielrafael profile image
Matei Adriel • Edited

What do you mean by Suspense looks interesting and there isn't a way to replicate the exact same sort of thing in Svelte right now.

In Svelte we have the #await block :)

Collapse
 
rafistrauss profile image
rafistrauss

That's kinda the point of svelte - it's not a framework (in the sense that it's all compiled to vanilla JavaScript and there's no additional overhead).

I'm a huge fan of the concepts of svelte for that reason, so while React is certainly the heavy hitter at the moment, I'm hopeful the trend moves more where svelte is heading