ember-learn / deprecation-app

Deprecation guides for ember.js, ember-data, and ember-cli
https://deprecations.emberjs.com/
22 stars 69 forks source link

package: fix `LinkComponent` deprecation #1285

Closed geneukum closed 1 year ago

geneukum commented 1 year ago

Right now, we import Ember.LinkComponent to define custom click event handling.

Using Ember.LinkComponent or importing from 'LinkComponent' has been deprecated, and it is recommended to install the @ember/legacy-built-in-components addon and use import { LinkComponent } from '@ember/legacy-built-in-components'; instead [deprecation id: ember.built-in-components.import], so let's go ahead and do so.

This should help with achieving #1272.

netlify[bot] commented 1 year ago

Deploy Preview for ember-deprecations ready!

Name Link
Latest commit d00821ec43e3621fe7c1e04c9f662e9f73c0c00a
Latest deploy log https://app.netlify.com/sites/ember-deprecations/deploys/63d9244ea3c15b00095fa302
Deploy Preview https://deploy-preview-1285--ember-deprecations.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.