News for hackers. Stuff that matters.
Re:Ember's Glimmer Engine by theflop on Tuesday March 03, 2015 @04:33PM (#9140918)
So what happens with all those JQuery plugins that manipulate the DOM directly in didInsertElement? I'm guessing Glimmer doesn't have a clue how to optimize that use case. So a lot of components need to be rewritten from scratch in Ember-style?
Re:Ember's Glimmer Engine by awj on Tuesday March 03, 2015 @05:16PM (#9141164)
Well, if you need the performance increase, the yes. Otherwise your options are to (maybe) tweak your current implementation so it continues to work or rewrite the functionality to be compatible with the view layer. This is the same trade-off you make with React since it's basically the same technology.
Re:Ember's Glimmer Engine by rxcfc on Tuesday March 03, 2015 @05:27PM (#9141232)
You shouldn't be both manually manipulating the DOM _and_ using Handlebars mustaches for the same element. Since there wouldn't be mustaches, Glimmer would ignore these cases. In general, you should only be using jQuery plugins for special cases not covered by Ember anyway.
Re:Ember's Glimmer Engine by grandalf on Tuesday March 03, 2015 @04:46PM (#9140998)
just remove those