Earlier quoted context omitted.
Could you explain why are they step ahead? I am not familiar with ClojureScript, but my interest in it is really high.
Because Clojurescript uses immutable data structures, and keeps the state in a centralized atom, so comparing different states is as easy (and fast) as comparing the different versions of the data structure, which in turn (and thanks to being immutable data structures) reduces to compare their memory references, which is fast.
Show HN: An Isomorphic JavaScript Framework Faster Than React
181–190 of 257 posts
Re: Show HN: An Isomorphic JavaScript Framework Faster Than React
#182Earlier quoted context omitted.
Also, please add 'track by $index' to the Angular example.. might be a suprise for you. (Makes Angular outperform both frameworks)
Are you sure you are getting correct results. Theoretically Angular can't be faster than both libraries because it does not implement diffing algorithm.
And it does, just not Virtual DOM
Re: Show HN: An Isomorphic JavaScript Framework Faster Than React
#183If you have N virtual dom nodes, and you are going to compare them every time a single thing changes, your performance may be good, as long as N is small. Unfortunately, React and similar frameworks don't deal with the case that N is large.
Re: Show HN: An Isomorphic JavaScript Framework Faster Than React
#184Earlier quoted context omitted.
I understand you very well. My todo list called 'stuff to check out' grows so fast that sometimes I'm thinking about clearing it out and just start another one.
Your problem is that have a life. Spend all day working and then checking out new stuff. Don't take a shower, eat on your laptop, etc. =)
Re: Show HN: An Isomorphic JavaScript Framework Faster Than React
#185Re: Show HN: An Isomorphic JavaScript Framework Faster Than React
#186I was a Knockout user, but 2 way binding and mixing up logic with html made me choose React. I think the target audience of this framework should be AngularJs user.
Re: Show HN: An Isomorphic JavaScript Framework Faster Than React
#187Earlier quoted context omitted.
So don't study it then? It's perfectly fine to continue using what you are using. Most recruiters talking to me still ask for Angular, even if I consider it a little hairy and prefer not using it. After being in the JS sphere for a while and living with these changes, I have learned a lot. Because there is nothing new under the sun, these all do pretty much the same thing - but in different ways. There are tradeoffs,…
The problem is, it's our fault that recruiters are now asking for Angular, because we sold our employers on Angular and built their apps in Angular. Now that Angular is mainstream and has fallen out of fashion, they need to hire more developers to maintain all those Angular apps we built for them.
Re: Show HN: An Isomorphic JavaScript Framework Faster Than React
#188Earlier quoted context omitted.
Could you explain why are they step ahead? I am not familiar with ClojureScript, but my interest in it is really high.
Because Clojurescript uses immutable data structures, and keeps the state in a centralized atom, so comparing different states is as easy (and fast) as comparing the different versions of the data structure, which in turn (and thanks to being immutable data structures) reduces to compare their memory references, which is fast.
Since Clojurescript compiles down to JS, wouldn't it be possible to use Immutable.js and a slightly different app design (a single Flux Store for the entire app) to get the same benefit of using React with Clojurescript?
Re: Show HN: An Isomorphic JavaScript Framework Faster Than React
#189Earlier quoted context omitted.
What do you mean by "helper assisted javascript"? Can you give an example where this has caused problems for you? I'm trying to decide between mithril and this library.
Sorry, poor word usage on my part. As vvpan more eloquently puts it, DOM construction via js functions. This is the example from their website. This is very difficult to maintain, and personally, I become very adverse to making changes. Though it appears vvpan has a link to a project attempting to fork(?) React's transformer to be usable in mithril. todo.view = function() { return m("html", [ m("body", [ m("input"),…
It works as advertised :-)
Re: Show HN: An Isomorphic JavaScript Framework Faster Than React
#190I think it's great that there is such an amount of active development in the JS sphere, and I'm sure your framework is fantastic - so don't take this as directed at your framework specifically. That being said... I am however feeling so overexposed to new libraries and frameworks that I can hardly muster the energy to even look at it. I constantly feel that I'm behind on my homework having to evaluate new libraries a…
> I am however feeling so overexposed to new libraries and frameworks that I can hardly muster the energy to even look at it. That's the nature of the job. In the front-end new frameworks are born all the time, new apis are created, new paradigms are "invented". Coming up with the "perfect" framework is clearly a work in progress. Here is a list of the techs I had to learn and work with during my career : - flex - jq…