These are chat archives for riot/riot

4th
Jan 2016
avimar
@avimar
Jan 04 2016 06:08
I haven't upgraded from ~2.1.0 to the latest yet, but there seems to be a lot of changes that go on.... I like how riot is simple, but it seems to be getting more complicated or just.. changes.
Luis Miguel Díaz Abril
@Ldiab
Jan 04 2016 13:03
Well... "Web Components" need to fit in a lot of situations and yeah Riot don't want to be categorized as "Web Components" But it is a really Smart UI Library so it needs to grow and accept some side use cases that the original authors didn't thought about like multiple yield. I think is near the roof in what it needs and just need bug fixes like the "if" which keeps evaluating the tag and all of that.
Also, its complicated if you want it, I mean, I have been using from 2.0 I think, and the syntax has almost not changed, maybe in the route system which maybe will become optional. But... I don't know XD
Prateek Bhatnagar
@prateekbh
Jan 04 2016 14:26
@Ldiab agreed...
but one thing...
smallest footprint is what i cared about most while choosing riot
lets keep that close
it grew from 3.5kb to 20 kb
Claudio Holanda
@kazzkiq
Jan 04 2016 15:28
Out of curiosity, is there some page where one can publish projects done with Riot? Like real-world applications, working examples, etc.
Prateek Bhatnagar
@prateekbh
Jan 04 2016 15:30
how about we create madewithriot.com
?
Claudio Holanda
@kazzkiq
Jan 04 2016 15:30
I think a pages such as https://expo.getbootstrap.com/ or https://react.rocks/ would be interesting for the community. I would like to see what other folks are building
Prateek Bhatnagar
@prateekbh
Jan 04 2016 15:31
definately
Claudio Holanda
@kazzkiq
Jan 04 2016 15:31
I think it would be a good idea.
Collin Henderson
@syropian
Jan 04 2016 15:54
I agree, would be nice.
I've been rewriting a very big personal project (currently Angular) in Riot that has ~10k users :)
Richard Bondi
@rsbondi
Jan 04 2016 18:30
I am trying to illustrate no-reorder here. It is supposed to work like the 'object' section, but it seems there is a bug in literals.
Mike Ward
@mike-ward
Jan 04 2016 18:48
Dumb question: How does one access the element attributes of a custom tag?
Collin Henderson
@syropian
Jan 04 2016 18:51
@mike-ward does simply using opts.attributename work? I dunno if riot ignores standard attribute names
Claudio Holanda
@kazzkiq
Jan 04 2016 18:52
@mike-ward this.root should give you the tag element, from this perhaps you could just use .getAttribute()?
Collin Henderson
@syropian
Jan 04 2016 18:54
that too ^
was just about to say the same thing ^_^
Mike Ward
@mike-ward
Jan 04 2016 18:57
opts.attributename seems to work. Don't see it documented however.
Anyone here going to CodeMash?
Collin Henderson
@syropian
Jan 04 2016 19:00
not i
Mike Ward
@mike-ward
Jan 04 2016 19:01
I'll be speaking about Riot at Codemash. Drop by and watch me embarrass myself :smile:
Claudio Holanda
@kazzkiq
Jan 04 2016 19:02
Will it be recorded?
Mike Ward
@mike-ward
Jan 04 2016 19:03
Generally not, but sometimes they do. Seems random which sessions they record.
Collin Henderson
@syropian
Jan 04 2016 19:03
I think I might be the only Riot developer in Toronto :P