My earlier question was downvoted to oblivion for unknown reasons, so making a new post:
Has anyone tried using this new API with ES6 class syntax yet? Clearly, using just the plain ES5 api is not a problem either (i.e. have your controller as a class and 'component' declaration as a function), but it would be interesting to see if you can get some extra goodies from ES6 classes.
1
u/vivainio Nov 14 '15
My earlier question was downvoted to oblivion for unknown reasons, so making a new post:
Has anyone tried using this new API with ES6 class syntax yet? Clearly, using just the plain ES5 api is not a problem either (i.e. have your controller as a class and 'component' declaration as a function), but it would be interesting to see if you can get some extra goodies from ES6 classes.