Riot.js – A 1kb client-side MVP framework
11–20 of 147 posts
Re: Riot.js – A 1kb client-side MVP framework
#12Re: Riot.js – A 1kb client-side MVP framework
#13... but, if you're going to test Underscore templates for speed, you need to use the `variable` setting to avoid the `with` block.
Re: Riot.js – A 1kb client-side MVP framework
#14key feature of many frameworks is that they break if you don't follow them carefully, limiting damage from 10x developer's hacked together code. does riot provide similar functionality?
Re: Riot.js – A 1kb client-side MVP framework
#15[Retracted.] ... but, if you're going to test Underscore templates for speed, you need to use the `variable` setting to avoid the `with` block.
Re: Riot.js – A 1kb client-side MVP framework
#16I love the refreshingly minimal approach, although jQuery dependency ruins some of the excitement, but still, great work guys!
Thanks. jQuery dependency is intentional since the library promotes the use of jQuery on the presenter layer.
Most developers don't bother about the presentation layer and they think that jQuery is a pain but most front-end designer and developers rely on it.
Great step.
Re: Riot.js – A 1kb client-side MVP framework
#17How can someone just beat Resig's or Jashkenas' code performance "that easily"?
By only supporting simple single property accesses. All that this can do is print values from an object — no loops, conditionals, filters, methods, or anything else — like the others support. Think string interpolation, not templates.