Miguel Camba
Miguel Camba
It's important to note that this approach has one very significant caveat. It only works in Ember 2.10 and beyond, and node 6. Making it work in node 4 is...
Master: ``` - dist/assets/dummy-d07754501a220f535cac21c72fdf9dc4.css: 460.13 KB (44.63 KB gzipped) - dist/assets/dummy-ee7bf31c31d29e9283e48ad84a76c4c0.js: 416.51 KB (65.76 KB gzipped) - dist/assets/dummy-fastboot-79227cfae53af54d4330b2e960cd1956.js: 1.32 KB (680 B gzipped) - dist/assets/vendor-75f40878596e268f96dd0e4a24b078bb.css: 1.5 KB (622 B gzipped)...
Measuring it now
Time to render the `#components/paper-card` URL of the dummy app (in development) Before: 120ms After: 85ms Which I think it's pretty good perf boost because it only has 12 cards...
The downside is that the build time has increased significantly. I haven't dedicated any time to improve the performance of the library yet tho.
@mitchlloyd That seems tricky to me, because unlike find/save operations that are fired ad-hoc, relationships are more a declaration of the relations between resources and fetching them from different points...
@belgoros I believe that there is a missunderstanding. What `matchTriggerWidth` and `renderInPlace` can be used to is to make the list of options to be as width as needed, but...
@AddisonG it's complicated. It would require to render things once, measure which one is the longest option and then resize the container again. Probably that should happen offscreen to avoid...
TBH I haven't used engines in ... 3 years? Maybe more. If the addon is a direct dependency of the engine, `@import "ember-power-select` doesn't work? I'm not sure what changes...
The styles very rarely change, if ever. A workaround could be to copy the relevant files from https://github.com/cibernox/ember-power-select/tree/master/app/styles into your app/engine.