question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issue with `performCount` on Ember v3.15

See original GitHub issue

We tried to update our app to Ember 3.15 this morning and the test suite of one of our apps uncovered the following issue:

Assertion Failed: You attempted to update performCount on <(unknown):ember22520>, but it had already been used previously in the same computation. Attempting to update a value after using it in a computation can cause logical errors, infinite revalidation bugs, and performance issues, and is not supported.

performCount was first used:

  • While rendering: (instance of a (unknown function) modifier)

Stack trace for the first usage: at get (http://localhost:7357/assets/vendor.js:39430:11) at Class.incrementProperty (http://localhost:7357/assets/vendor.js:53987:72) at Class.schedule (http://localhost:7357/assets/vendor.js:158913:12) at Class._performShared (http://localhost:7357/assets/vendor.js:160316:23) at Class.perform (http://localhost:7357/assets/vendor.js:160286:19) at XValidatedInput._focus (http://localhost:7357/assets/vendor.js:143177:33) at XValidatedInput.focusIn (http://localhost:7357/assets/vendor.js:143157:12) at XValidatedInput.trigger (http://localhost:7357/assets/vendor.js:59364:23)

I haven’t been able to come up with a reproduction yet, but I’ll update this issue if I can provide one.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
allthesignalscommented, Jan 27, 2020

@maxfierke that was totally it! time to add https://github.com/salsify/ember-cli-dependency-lint to this project…

appreciate it 😃

1reaction
Turbo87commented, Jan 7, 2020

that double negation is hard to parse 😅

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issue with `performCount` from ember-concurrency on v3.15
posting this here because the v3.15 update triggered this for us and it's unclear whether this is an issue in Ember or ember-concurrency....
Read more >
Ember 3.15 "Octane" Released
Today the Ember project is releasing version 3.15 of Ember.js, Ember Data, and Ember CLI. In addition to brining new features and bug...
Read more >
Derived State
One of the core goals of ember-concurrency is to provide as much Derived ... isIdle : the opposite of isRunning; performCount : The...
Read more >
Azure AD Auth Ember JS v3.15
I have an index route with a short message to users, and a login with Microsoft button. I'd like to use Azure AD...
Read more >
Ember.js Framework Core Team AMA - YouTube
Your browser can't play this video. Learn more. Switch camera.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found