Earlier quoted context omitted.
I "failed" a job interview recently to the reason that they didn't have faith in my jQuery (any by extension Javascript) skills. I managed to write a multi-page response explaining how the modern frameworks were moving away from jquery in favour of data bindings, virtual dom, etc... while I acknowledge that there is still a place for jQuery, it has a very much diminished role in modern web development. In the end, I…
I dont understand, if mithril is good why would you want to try react? Personally I'm trying to solve a problem (make complex ui easy to code and understand) Either mithril solves it or it doesnt..?
Show HN: An Isomorphic JavaScript Framework Faster Than React
131–140 of 257 posts
Re: Show HN: An Isomorphic JavaScript Framework Faster Than React
#132Earlier quoted context omitted.
I don't. If Angular has produced a local optima of efficiency in the range of "misguided attempts" then it's effect on the development ecosystem was a net positive. That said, I am extremely concerned that most popular frameworks/libraries are products of megacorps.
That is in part due to the complexity of problems in frontend and that most companies don't need to solve those problems (or don't have the resources to solve them).
I think a more important reason would be that Facebook/Microsoft/Google media influence and corporate support creates massive brand awareness and generates instant interest. Educational projects anticipate the interest from developers and create courses, tutorials and reviews. The cycle continues and bam! we have an information cascade[0].
Rich get richer and poorer get poorer (in developer mindshare). Megacorps reap the benefits while indie developers are not able to achieve critical mass.
I shudder when I think about the possible Typescript/Microsoft, Angular/Google, React/Facebook domination in web technologies.
Re: Show HN: An Isomorphic JavaScript Framework Faster Than React
#133Earlier quoted context omitted.
I "failed" a job interview recently to the reason that they didn't have faith in my jQuery (any by extension Javascript) skills. I managed to write a multi-page response explaining how the modern frameworks were moving away from jquery in favour of data bindings, virtual dom, etc... while I acknowledge that there is still a place for jQuery, it has a very much diminished role in modern web development. In the end, I…
I dont understand, if mithril is good why would you want to try react? Personally I'm trying to solve a problem (make complex ui easy to code and understand) Either mithril solves it or it doesnt..?
I think the reason I want to try react is to compare and contrast the various approaches.
I've written both angular & mithril for production. So far I haven't enjoyed anything as much as mithril. It is so clean & pure. It stays almost completely out of your way.
In fact there are places where I'm actually running angular INSIDE mithril pages (long story, part of migrating a project from angular to mithril, without losing legacy pages)
I would like to start a react project from scratch to see what it's like. To compare what one really, really smart guy (Leo) came up with against the mighty multibillion dollar facebook.
Leo has a day job and mithril is spare-time, facebook has a staff dedicated to react. Facebook is committed to working on react long term as a corporate strategy. Leo could get bored and walk away.
Additionally there's the aspect of looking at react-native. It makes me suspect that there may be a long term value in being aware of the patterns used in the react.
I struggle to believe it could be better than mithril, but who knows? I haven't tried it yet!
Finally there's the "learning things is fun" side of things.
Re: Show HN: An Isomorphic JavaScript Framework Faster Than React
#134Top article on the front page of Hacker News as I write this, and not a single positive comment below. Great job, guys... 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.
I think a lot of the negativity has to do with the marketing. This isn't being sold as "a cool thing I made", but "Better MV-ish Framework" and "Faster than React". If you try to position it as better than existing alternatives, HN commenters will tear it down if they don't think it makes the cut. If you put it out as "exploring interesting new approaches", I think you're likely to see a lot less negativity here. Com…
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 };
upvote triangle
The href & onclick handlers would need to be added in javascript so as not to affect hn for non-js users.Re: Show HN: An Isomorphic JavaScript Framework Faster Than React
#135Re: Show HN: An Isomorphic JavaScript Framework Faster Than React
#136Re: Show HN: An Isomorphic JavaScript Framework Faster Than React
#137Is isomorphic JavaScript a thing? Isn't it just 'using jsdom'?
No. jsdom is not the perfect solution. jsblocks is using Virtual DOM and have specific implementation to support server-side rendering which makes the framework more powerful and flexible.
Re: Show HN: An Isomorphic JavaScript Framework Faster Than React
#138Will be hard to compete with those big libraries like angular and react, b/c they have yet a large community, IMO I like angular on top of react (didn't like the way you create DOM with javascript, tried it 2 years ago, maybe it evolve but I doubt it). Also I'll wait till the project get more mature and get a significant community, b/c I'm not with the energy to learn every library that come out there, maybe will tes…
You are absolutely correct. It is hard to compete with Google and Facebook. Possibly impossible. I love what I do and it is great experience developing jsblocks. And one last thing you could check OneScript - https://github.com/astoilkov/OneScript . Do you think it is simple?
Re: Show HN: An Isomorphic JavaScript Framework Faster Than React
#139I've been playing around with RiotJs (actually committed some fixes/features to the repo). I think what is attractive about both Riot and React is that everything is "defined" in JavaScript, there isn't really a separation of markup and behavior. Each little module can act an individual component. React has gone a step further and has shown that the DOM doesn't really matter...your React code could create native apps…
Cool question. Please take a look at OneScript - https://github.com/astoilkov/OneScript and share your opinion. I believe this is the next step in developing applications. Bringing HTML, CSS and JavaScript in one place where components are modular and small.
Agreed - encapsulation is key to managing complexity.
Re: Show HN: An Isomorphic JavaScript Framework Faster Than React
#140I'm just generally not a big fan of "X is some percent slower than Y" stats, because I find them counterintuitive. However, in this case I think something is wrong. Rendering: jsblocks: 700ms React: 950ms (35% slower) Angular: 2200ms (310% slower) Doing some maths: 700ms + (700ms * 0.35) = 945ms 700ms + (700ms * 3.10) = 2870ms Looks like they got a little carried away when calculating Angular's rendering speed. Same…