3 ms·
It's a Vue component, how is that not Vue specific? - https://github.com/runkids/Imagvue/blob/master/src/imagvue.js https://github.com/runkids/Imagvue/blob/mast
by algorithm_dk 8y ago
It's a Vue component, how is that not Vue specific?
- https://github.com/runkids/Imagvue/blob/master/src/imagvue.js https://github.com/runkids/Imagvue/blob/master/src/imagvue.j...
- tomelders 8y agoBut what advantages does a Vue component offer over just doing the same thing with CSS? It's not going to be any more performant because it's not addressing a part of the rendering engine that Vue has any influence over. And you're not saving keystrokes because you've still got to instantiate the component and pass values to the props. All it does as far as I can tell is abstract away something that's trivial to do manually.