Tracking remaining usage of the Ember global
See original GitHub issueWith #19357 landing, there are a few deprecation notices being thrown even in brand new apps on 3.27-beta-1+
.
Here’s a list:
-
PR: https://github.com/embroider-build/embroider/pull/785 In compiled templates built with Embroider.
const createTemplateFactory = Ember.HTMLBars.template;
-
PR: https://github.com/embroider-build/embroider/pull/784 Before app boot, by ember-inflector from Ember Data Checks for
Ember.ENV.EXTEND_PROTOTYPE
inember-inflector/make-configurable.js
. -
PR: #19509 On
didBecomeReady
Object.keys
is being called on the internal app context infindNamespaces
, which includes theEmber
“global”.tryIsNamespace
then accesses the Ember object.
Steps to reproduce
Run ember new
with ember-cli@3.27.0-beta.1
. Inspect the console.
Relevant versions
ember-cli: 3.27.0-beta.1
ember-source: 3.27.0-beta.3
ember-data: 3.27.0-beta.0
ember-cli-htmlbars: 5.7.1
@embroider/compat: 0.39.1
@embroider/core: 0.39.1
@embroider/webpack: 0.39.1
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
Tracked Properties - Ember RFCs
Summary Tracked properties introduce a simpler and more ergonomic system for tracking state change in Ember applications.
Read more >Global electricity analysis: H1-2020 | Ember
The global electricity transition is off-track for 1.5 degrees. Coal needs to fall by 13% every year this decade, and even in the...
Read more >Ember interactivity: Events, classes and state - MDN Web Docs
To learn how to create component classes and use events to control interactivity, and keep track of app state using a service. Adding ......
Read more >The 8 Most Common Mistakes That Ember.js Developers Make
This might change if the global adoption of Object.observe in browsers improves, but until then, we have to use the set of methods...
Read more >Statistical Review of World Energy - BP
Oil consumption increased by 5.3 million barrels per day (b/d) in 2021 but remained 3.7 million b/d below 2019 levels. A majority of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@sandydoo the final issue should have been fixed by #19509, we removed the namespace processing entirely. That fix should be backported to beta in the next release.
I thought we tried to get rid of the Namespace stuff, I’m unsure why we had to keep it in the end. It’s odd that tests pass too, even with it. I’ll dig in soon.