4 ms·
I'm the author and main contributor of the language, let me know if you have any questions, happy to answer :)
by gdotdesign 7y ago
I'm the author and main contributor of the language, let me know if you have any questions, happy to answer :)
- pier25 7y agoSo how does it work? Does it use a virtual dom? How is the performance? What about the bundle size? The answers to those questions should be on your home page. Also it would be great if you included it here: https://github.com/krausest/js-framework-benchmark https://github.com/krausest/js-framework-benchmark
- gdotdesign 7y agoMint uses React as the view layer anything else is done by either the compiler or the runtime(1). So the bundle size should be around the same as react or smaller (the compiler can output optimized code) and the performance is the same. [1]https://github.com/mint-lang/mint-runtime https://github.com/mint-lang/mint-runtime
- pier25 7y agoThanks. I skimmed over the docs but didn't find that mentioned anywhere. Why not use something faster and smaller than React though like Preact or Inferno?
- gdotdesign 7y agoIt is possible, but it turns out they are not a 100% compatible.
- pier25 7y agoNot 100% compatible but much faster and lightweight: https://krausest.github.io/js-framework-benchmark/current.html https://krausest.github.io/js-framework-benchmark/current.ht...
- airstrike 7y agoSorry, totally insubstantial comment, but noticed a typo towards the bottom. s/interopability/interoperability
- rankam 7y agoWhat does the next keyword do? I see it in examples, but couldn't find anything about in the docs (or maybe I overlooked it)
- gdotdesign 7y agoIt steps the sate forward, think of it as `this.setState`.
- rankam 7y agoGot it - thanks!
- deleted 7y ago[deleted]