4 ms·
You can skip both, and most of the churn by taking a look at https://mithril.js.org https://mithril.js.org . It's one of the only frameworks I've seen that gets
by porsager 8y ago
You can skip both, and most of the churn by taking a look at https://mithril.js.org https://mithril.js.org . It's one of the only frameworks I've seen that gets you 95% of the way while supporting you through the last 5% instead of getting in your way. It includes all the regular things you need (view, router, requests) while staying under 10kb and having better performance than those two. If you need any help at all, there's a super friendly community at gitter as well. Did i mention 0 dependencies?
If you want to give it a go quickly, just load up https://flems.io/mithril https://flems.io/mithril .
Here's a quick hello world. https://flems.io/#0=N4IgZglgNgpgziAXAbVAOwIYFsZJAOgAsAXLKEAGhAGMB7NYmBvEAXwvW10QICsEqdBk2J5YxAATUoEagGs4EgLwSADAB00mrPiy0ArgwAUAE1rV9OBvgBGtEwE8KE4JokSAbhBgB3RBKMASmUAPgksIwByLAwINEiKN3dwqMIARgSJSIAJGCgoWgkfWgAnKBNIwMS0ZJTIm31iYnpM1xraiXppWTl-INCpGXk4AGoRpPd2LLjqEpgrYkrq2ojIwgAmTMiAYSGFf0iJEcGeuECk87RWQMoaWiwAB2gYErwbDBs827g8mGpiCD0BA8ADsiBBbA4IEwODw+GocAEd2EzB4bAAulQZGgFEhUNCuHgsBBiIQStBbvoyngSMQHnBEAB6RmGB5yADm8PujOJpPJUAAAml8MKAGw8klk6D4fi3YgOB7cEBwWYQB6iVjo1hAA https://flems.io/#0=N4IgZglgNgpgziAXAbVAOwIYFsZJAOgAsAXLKEAG...
- another-cuppa 8y agoThat looks really great. Bookmarked. Shame the site is one of the rather large group of sites that assume everyone's default CSS is black on white text, though.
- porsager 8y agoWell I'd be happy to make a pull request to fix it. What is your setup?
- another-cuppa 8y agoI use the option "use theme colours" in Firefox and therefore my default background is grey and default color is whitish. Basically, if you change color, make sure you change background appropriately, and vice versa. Don't assume background will be white and color will be black for everyone.
- Tongueincheek 8y agoI have been using it for the last few years and found it to be the easiest simplest and fastest library to create an app with.