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

LinkTo mutation is getting deprecated #304

Open
sebastianhelbig opened this issue Mar 6, 2021 · 4 comments
Open

LinkTo mutation is getting deprecated #304

sebastianhelbig opened this issue Mar 6, 2021 · 4 comments

Comments

@sebastianhelbig
Copy link

It seems that ember's builtin LinkTo should not be mutated anymore.
Please see:
ember-template-lint/ember-template-lint#1820 (comment)
https://github.com/emberjs/rfcs/blob/master/text/0671-modernize-built-in-components-1.md

@e00dan
Copy link
Owner

e00dan commented May 13, 2021

I see. This addon needs refactoring.

@AmilKey
Copy link

AmilKey commented Dec 14, 2021

It seems that ember's builtin LinkTo should not be mutated anymore. Please see: ember-template-lint/ember-template-lint#1820 (comment) https://github.com/emberjs/rfcs/blob/master/text/0671-modernize-built-in-components-1.md

now you can use <LinkTo @route="authenticated" {{action Dd.actions.close}}>link</LinkTo>

I think this addon is deprecated for new versions of emberjs

@mcfiredrill
Copy link

now you can use <LinkTo @route="authenticated" {{action Dd.actions.close}}>link

Does this work?

@AmilKey
Copy link

AmilKey commented Feb 19, 2024

now you can use <LinkTo @route="authenticated" {{action Dd.actions.close}}>link

Does this work?

<LinkTo "schedule.feed" {{on "click" this.toggleNavigaion}}>Feed</LinkTo>

https://stackoverflow.com/questions/61740255/how-do-i-replace-invokeaction-attributes-on-link-to-components-in-emberjs

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

No branches or pull requests

4 participants