These are chat archives for ractivejs/ractive

7th
Jan 2016
Andrew Smith
@silentworks
Jan 07 2016 10:38
@danjford will have a look at that later, I am not too keen on the idea of the view node being the Ractive object, is it possible to pass a Ractive object into the view node instead? e.g { view: MyRactiveComponent }
Dan ford
@danjford
Jan 07 2016 12:01
@silentworks You could move the view Ractive Object into its own variable, yes e.g. if you were in a ES6 workflow http://pastebin.com/cnpmAhaZ. If you wanted to use precompiled templates, as usual you would just pass the precompiled template to the template attribute.
Andrew Smith
@silentworks
Jan 07 2016 15:40
@danjford ah that gives a better perspective of things, will test it out once I get a chance to