Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I think my setup sometimes has a double render error #18

Open
NullVoxPopuli opened this issue Jul 12, 2017 · 0 comments
Open

I think my setup sometimes has a double render error #18

NullVoxPopuli opened this issue Jul 12, 2017 · 0 comments

Comments

@NullVoxPopuli
Copy link

route A/
route A.B /
route A.B.C /

each of those routes calls to-elsewhere with the same name, and this might be causing

Assertion Failed: You modified "service.actives" twice on <aeonvera@service:ember-elsewhere::ember853> in a single render. It was rendered in "component:from-elsewhere" and modified in "component:paper-sidenav-container". This was unreliable and slow in Ember 1.x and is no longer supported. See https://github.com/emberjs/ember.js/issues/13948 for more details.

my from-elsewhere looks like this:

{{#paper-sidenav-container}}
  {{#if showSidebar}}
    {{#paper-sidenav open=leftBarOpen class='md-whiteframe-z2' onToggle=(action (mut leftBarOpen))}}
      {{from-elsewhere name='left-side-bar'}}
    {{/paper-sidenav}}
  {{/if}}

and each of my to-elsewhere's look something like this:

{{to-elsewhere named='left-side-bar'
  send=(component 'app-nav/event-registration-edit-sidebar'
        event=model.event
       )}}

does anything obviously stick out as bad?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant