4 ms·
I love React, but it seems like it would be easier and more productive to use a toolchain that had a much smaller payload (like Mithril, or React-lite), than en
by michaelchisari 11y ago
I love React, but it seems like it would be easier and more productive to use a toolchain that had a much smaller payload (like Mithril, or React-lite), than engineering a solution like this.
If performance and time-to-click was your concern.
- leeoniya 11y agoI'm consistently amused by the amount of learning, tooling and dependencies needed to get these things working (and not very fast at that). Accomplish the same [1] in 15.5k (min): actually fast [2] vdom view layer, router, isomorphism and observers. IE9+ with an additional 9.5k of polyfills [3]. Disclaimer: i'm the author. [1] https://github.com/leeoniya/domvm#isomorphism-html-attach https://github.com/leeoniya/domvm#isomorphism-html-attach [2] http://leeoniya.github.io/js-repaint-perfs/domvm/ http://leeoniya.github.io/js-repaint-perfs/domvm/ [3] https://github.com/leeoniya/domvm/blob/1.x-dev/dist/polyfills.min.js https://github.com/leeoniya/domvm/blob/1.x-dev/dist/polyfill...
- aaron-lebo 11y agoI love it, but what about React Native. How do you match that?
- leeoniya 11y agoIf you want React Native, then you need React :) From what i gather, React Native is good enough for simple things and is iOS-first, but quickly fails to live up to the hype for anything moderately complicated and is actually slower than apps that are native from the get-go. I'm not sure if this is still the case, but aiming for the lowest common denominator seems like a lot to give up. I would be interested to see a React Native app that truly benefits from being native, aside from the app store and distribution aspect.
- tomcampbell 11y agoLoving it, thank you. Had not run into your repo before. Feels incredibly tight, logical, and easy to learn.