lifeart / lifeart/ember-cli-inline-template-only-components

Deprecation warning

Open
#2 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
9
Forks
0
PR merge metrics
No merged PRs in 30d

Description

I started getting a bunch of deprecation warnings when running `ember serve`:

```
DEPRECATION: Using class based template compilation plugins is deprecated, please update to the functional style: InlineTemplateTransform [deprecation id: template-compiler.registerPlugin]
```

I seem to find `InlineTemplateTransform` only in `ember-cli-inline-template-only-components` when I grep in my node_modules so I guess the problem lies in this plugin.

Contributor guide

Open the contributing guide

Research direction

Reproduce the warnings by running `ember serve` in a project using ember-cli-inline-template-only-components. Inspect the plugin's use of `InlineTemplateTransform` and compare it with the functional template compilation style. Done means the deprecation warning no longer appears when the plugin is used.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.