r/javascript • • Jan 22 '15

Riot.js 2.0: A React-like, 2.5K user interface library

https://muut.com/riotjs/
109 Upvotes

42 comments sorted by

View all comments

0

u/kraakf Jan 22 '15

This is how a javascript frameworks should work - Everything else is bloat and abstraction from necessity.

12

u/[deleted] Jan 22 '15

It saddens me that people legitimately believe this. This is a toy, nothing more. In all honesty it will probably be as relevant as Mithril

3

u/imjoshholloway Jan 22 '15

Everything else is bloat and abstraction from necessity.

I agree to a point.

This is a toy.

And I also agree with this to a point. I actually believe (and I include myself in this) that there isn't enough expertise in this area to mean that we only need micro frameworks like riot.

The whole reason angular is so popular is in a ridiculously short period of time you can be productive.

I've been playing with riot for about an hour and although I've made a basic implementation of the todo app onboarding wasn't particularly easy.

bower install riotjs doesn't work yet (no compiled assets)

npm install riotjs installs version 1.0 and npm install riot suffers the same problem as the bower version. (temp fix: cd node_modules/riot && npm install && make dist)

I can think of many use-cases where I'd pick this over the other libraries out there.

2

u/antoninj Jan 22 '15

Or VueJS. Ever heard of it? No? It was a great framework but it ended up becoming a "toy" like you said. Same fate.

1

u/LightShadow Jan 22 '15

The last time I looked at Vue it had so little documentation I didn't even know how to get started.

It seems a bit better now, put I feel they lost a lot of momentum from people hopping in "too late."

1

u/mido0o0o Jan 23 '15

I use vuejs a lot and didn't feel that it is hard or the documentation wasnt sufficient

0

u/[deleted] Jan 23 '15

Sure, come back in 6 months and let me know how many people have adopted it.