ember-optional-features
ember-optional-features copied to clipboard
It appears that the codemod implementation only runs against components in the `app/` directory, which will not work for addons, which store their components in the `addon/` directory and may...
Hi, in the readme of this addon, it's written > It is intended for use with apps only not addons. Is there a way to hide the warning in the...
At times, addons will need to know if specific optional features are enabled or not. With the current architecture it is only possible to detect at runtime via `window.EmberENV._SOME_FLAG_HERE`, but...
`[email protected]` shows the following for further information. The [rendered](https://github.com/emberjs/rfcs/blob/async-observers/text/0494-async-observers.md) rfc link however ends up in a 404: ``` default-async-observers (Default: false) Makes all observers asynchronous (unless manually indicated as synchronous...
This flag is not a simple boolean, so it would probably require some redesign/refactor to make it work.
Fill these in: https://github.com/emberjs/ember-optional-features/blob/master/features/application-template-wrapper.js#L29-L31 https://github.com/emberjs/ember-optional-features/blob/master/features/template-only-glimmer-components.js#L42-L44
Previously, calling `isFeatureEnabled` with an unknown feature name would throw "Cannot read properties of undefined (reading 'default')". This change makes `isFeatureEnabled` emit a warning and return `null` instead, preventing the...