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

UI - no jquery #6768

Merged
merged 21 commits into from
Jun 20, 2019
Merged

UI - no jquery #6768

merged 21 commits into from
Jun 20, 2019

Conversation

meirish
Copy link
Contributor

@meirish meirish commented May 21, 2019

After a previous failed PR to remove jQuery, I looked at this again and came across ember-cli/ember-fetch#204 - it turns out that including preferNative:true in the ember-fetch config fixes the flickering of the tests.

Additionally after doing that it surfaced a lot of Ember Data errors akin to the one in this issue: emberjs/data#5387 and as noted in this comment: emberjs/data#5387 (comment) and the linked repo that fixes the issue https://github.com/efx/-ember-data-cannot-update-watchers/commit/b5c0a0248f358514bab68f7f73ba59ed094449c9#diff-abef98b98958054d1769915c9b057f3bR14, it's important to unset a model on a controller when you unload it. That's not something we were doing previously, and we are using the unload-model-route mixin pretty liberally through the application, doing this cleaned up all of the errors that we saw.

andaley
andaley previously approved these changes May 21, 2019
Copy link
Contributor

@andaley andaley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

look at those passing tests! amazing! thank you for doing this. 🎉

@meirish meirish merged commit aee6566 into master Jun 20, 2019
@meirish meirish deleted the ui-no-jq branch June 20, 2019 13:37
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

Successfully merging this pull request may close these issues.

2 participants