Answer the question
In order to leave comments, you need to log in
Changes in backbone.js with the advent of ES6. Who knows what?
With the advent of the ES6 standard, many changes have come to JavaScript. Not all are implemented yet, not all are supported, but it is a matter of time. I am using backbone.js. I would like to use more new features. Who is already using what? Where can I see examples? Maybe there is information, are the developers of the framework going to write a version for ES6? The obvious answer is "take it and use it". But I'm more of a server programmer and don't have much experience with JS and Backbone, although I use it occasionally. But despite the fact that this is not a specialized language, I would still like to write "in step with the times."
Answer the question
In order to leave comments, you need to log in
In the spring I made a project on Backbone + ES6: github.com/hogart/alchemy ( kitmanov.name/alchemy ). Liked. I met only one problem: in ES6 there is no class-properties , so the url of the model, events of the views, and so on, had to be set by functions. Now this propozal from ES7 is already in babel, the problem disappears.
// EDIT
- Everyone is hyped about React, but we know that when es6 comes, the guys from Google have already prepared Angular2.
+ All the React hype, but we know that when es6 is supported by the main browsers, the guys from Google have already prepared Angular2.
Moving to ES6 has nothing to do with the core of any framework. Just start writing in ES6 and transpile to ES5 with Babel .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question