v2.0 broke import of hrefTo function
See original GitHub issueThe change from v1.15.1 to v2.0.0 removed
// addon/helpers/href-to.js
export { hrefTo };
That means it’s not possible to do import { hrefTo } from 'ember-href-to/helpers/href-to'
. It also means the reexport from app/
is broken.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Import function broken · Issue #735 · CTFd/CTFd · GitHub
Trying to Import DB from another instance of CTFd 2.0.0 fails (clicking the yellow import button does nothing) in both Chrome and Firefox....
Read more >IE href="javascript:customFunction()" not firing on first frame load
I put a breakpoint inside customFunction() and it won't break when the links don't work, but it will break if the link will...
Read more >Dash 2.0 Migration | Dash for Python Documentation | Plotly
This section is for you if you currently use Dash 1.x in your apps and want to upgrade to Dash 2.0. Here you'll...
Read more >Re: Import of WMF and EMF image slides broken on 2... - Adobe ...
Now, in 2.0, it goes through the motions - asking if I would like to Crop or Resize the imported image. It even...
Read more >Arrow function expressions - JavaScript - MDN Web Docs
An arrow function expression is a compact alternative to a traditional function expression, with some semantic differences and deliberate ...
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
3.1.0
has been published which includes a fix for this.If you can, you should use Ember’s router service’s
urlFor
for this instead though:https://api.emberjs.com/ember/3.8/classes/RouterService/methods/urlFor?anchor=urlFor
Thanks for the fix @GavinJoyce .
TIL: Ember has
urlFor
👍