To the author: I think the homepage looks great, the examples are clear and informative, and I would definitely give this a try if I weren't wed to a couple of other frameworks right now.
To the author: I think the homepage looks great, the examples are clear and informative, and I would definitely give this a try if I weren't wed to a couple of other frameworks right now.
Compare to the launch of Mithril: https://news.ycombinator.com/item?id=7421652
EDIT: Actually, revisiting this, the problem may be more with the fact that it hit the front page than the fact it has a lot of negative comments. If nobody here seems to like it, how did it get 182 upvotes? That seems like a problem with our community, eg; upvoting before actually looking at the article. (Note: I don't mean to comment on whether this is a good framework, just that the HN community doesn't seem to like it much).
Another one: the general weariness with which new JS frameworks are greeted has increased massively in the 433 days since Mithril was posted here.
make the "upvote" buttons invisible on stories that the user hasn't visited before. This could be done like so:
// css
a.upvote-botton:visited { visibility: hidden };
<!-- in html -->
<a href="{article_link}" onclick="perform_upvote()" class="upvote-button">upvote triangle</a>
The href & onclick handlers would need to be added in javascript so as not to affect hn for non-js users.http://dbaron.org/mozilla/visited-privacy is one of the better resources explaining the issue more fully.
I guess you could create the triangle solely with CSS borders, and then style the border-color to be the same color as the background when not :visited