Re:Mithril.js – A modern client-side Javascript framework
by nkkollaw on Saturday August 18, 2018 @10:24AM
(#17788584)
I don't know. Creating the HTML file, finding a CDN, and adding script tags take more than:
npx create-react-app MyApp
There is nothing to install, and you have a complete playground to experiment.
Re:Mithril.js – A modern client-side Javascript framework
by porsager on Saturday August 18, 2018 @12:12PM
(#17789135)
https://flems.io/mithril
That link preloads mithril in a web playground and you're ready to go in a couple of seconds. You can even download and continue development locally should the need arise - without the gorilla and the jungle hiding behind it.
Re:Mithril.js – A modern client-side Javascript framework
by Artemix on Thursday August 23, 2018 @08:35AM
(#17826685)
The biggest problem I find with that is if the template/tool gets some deprecated/critically flawed dependencies, for tweaking it can be ignored but not for production or critical systems.
Also taking the time to set up your project with what's just needed will allow to dodge a lot of bullets of breaking or useless dependencies, malicious dependency update tc.
But if you're new to a framework and just want to experiment then being able to create an html file with a couple of script tags and writing code removes many barriers to entry.
React, Vue and many others already offer this, I thought it was worth mentioning that Mithril does this too.