Super dynamic links


#1

A new Ember CLI addon that is hopefully useful: https://www.npmjs.com/package/dynamic-link

I had some issues where I wanted every route to have breadcrumbs and sometimes secondary lists of links, but I needed pretty much everything about those lists of links to be dynamic – not only the models, but also the route names, query params, whether there were models at all (and how many), and even whether the links used route transitions or would trigger actions or go to external sites.

link-to's interface is pretty inflexible, it only supports route transitions and only with a fixed number of model arguments, so to avoid having to do a lot of setup with something like a ContainerView, we wrote this. Hopefully it solves some problems other people have been having too.