dimanche 7 mai 2017

Ember version 2.12.2: view isn't showing up

I am writing a research paper and as a part of it I am doing a performance benchmark between Ember's KVO change detection method and React's Virtual DOM change detection method.

I made 2 identical applications - one with Ember and one with React, but I realized afterwards that I've used an old version of ember(1.8.0). I am now trying to change and refactor it to version 2.12.2.

For now I replaced ObjectControllers with Controllers.

Now the problem is - when application is initialized, there should be a link that when pressed shows tweet list. Now with v2.12.2. the link is not shown, I am not getting any error messages.

    <script type="text/x-handlebars">
        <a class="label label-default" href="#/list">SHOW LIST</a>
        
    </script>

Here is a jsfiddle of the v2.12.2 version of this app, which does not work fiddle

Here is a fiddle of the v1.8.0 version of this app, which works fiddle

Any hints on where is the problem?




Aucun commentaire:

Enregistrer un commentaire