DEV Community

loading...

Discussion on: Why svelte is revolutionary

Collapse
jonrandy profile image
Jon Randy

Not really revolutionary - Svelte is very much like RiotJS which is now approaching version 5 and has been around much longer (since 2013)

Collapse
ampcpmgp profile image
ampcpmgp

Yes, the syntax is similar, but I think Svelte has a build to Web Components, Svelte/store with intuitive two-way binding, and other ergonomic innovations.

Collapse
jonrandy profile image
Jon Randy

Riot can also build Web Components, and has many other innovations

Thread Thread
csaltos profile image
Carlos Saltos

Riot is compiled or it runs on the client ?

Thread Thread
jonrandy profile image
Jon Randy

Can be precompiled, or compiled on the client - up to you

Thread Thread
csaltos profile image
Carlos Saltos

GREAT !! ... I will take it a look, thank you very much for the good reference

Collapse
hanna profile image
Hanna Author

Never heard of RiotJS! Maybe I'll give a try sometime.

Collapse
dennisfrijlink profile image
Dennis Frijlink

Yeah I know Riot.js. I love it!

Collapse
nibushibu profile image
GENKI

Thank you for your interest in Riot!
Riot.js is simple riot against complicated frontend.✊🔥
Riot is close to standards like web components and that's learning curve is so small.
It has only 3 template directives(if, each, is) and all template expressions are "just JavaScript".
Please try if you interest, and please post review if you like it.😃

Thread Thread
yellow1912 profile image
yellow1912

I tried svelte before, didn't work out for me because i have to work with legacy code (html generated server side), doesn't make sense for the compilation process etc. At the time svelte couldn't help me so I opted for vuejs. Riotjs looks quite interesting, but with vuejs3 comes out (half bundle size) I guess the only difference is virtual dom vs non virtual dom. I would love to try out riot though, I like its simple directives and explicit behavior. Not sure if it's worth switching at this point though.

Collapse
nibushibu profile image
GENKI

You're right!👍
Current maintainer has been improving Riot.js about 5 years, that contribution is commendable.
Your comment will enpower him who made the following tweets.
twitter.com/gianlucaguarini/status...

Collapse
csaltos profile image
Carlos Saltos

Yes, and also Marko ... we all are mount on shoulders of giants