by bikamonki · 10y ago · 0 comments
Shaving milliseconds in rendering, repaints, scripting, etc? For what? Modern devices make it almost irrelevant. If you'd be selling seconds to milliseconds I'd say ok let's have a look.
Complex dependencies vs zero dependencies. So now I need some library to bind/transpile/build many other libraries that in the end will...shave some milliseconds. You just added unnecessary complexity to solve the same problem, not to mention more KB to download.
JSX??? Don't get me started here.
Backbone core library is all I need. It packs routing, binding, event handling, rendering. Yours is useless out of the box, to be used on a real complex app it needs...more dependencies.
Fork Backbone, add a virtual dom to shave them milliseconds, and I'd argue that we've made progress.
A todo list on an mbp, yes. A complex app on a tablet, not so much.
> Yours is useless out of the box, to be used on a real complex app it needs...more dependencies.
All Vue requires is vue.min.js and you're set. Adding routing and clean data flow out of the box is trivial. _But_ it is easy to end up with a massively over engined babel-webpack-flow-npm-flux meme stack, given the excellent vue cli. I am, of course, guilty of that myself.