Live data from Hacker News

Rax – A universal React-compatible render engine

github.com

11–20 of 42 posts

Re: Rax – A universal React-compatible render engine

#11
post #9
post #3

Interesting that they don't compare it to preact: https://github.com/developit/preact

reading that, it seems pretty good. Are there performance costs to its diffing against the "real" DOM? 3kb for "React" is pretttttty tempting

Forget about file size, 40kb vs 8kb doesn't really matter in the modern era. If anything, using an obscure library may cost you more because it's less likely to be a CDN cache hit for the user.

Re: Rax – A universal React-compatible render engine

#12
post #9

Earlier quoted context omitted.

reading that, it seems pretty good. Are there performance costs to its diffing against the "real" DOM? 3kb for "React" is pretttttty tempting

Forget about file size, 40kb vs 8kb doesn't really matter in the modern era. If anything, using an obscure library may cost you more because it's less likely to be a CDN cache hit for the user.

we package our JS into one bundle, so just one CDN to hit (ours).

Another thing is that even if you're at 40kb gzipped, that's still at least 20ms for parsing JS. When you're trying to improve performance, chopping out 30kb is nice

Re: Rax – A universal React-compatible render engine

#13
Is it faster than Inferno[1]?

[1] Inferno seems to be the fastest React drop-in replacement at 9kb size at the moment: http://stefankrause.net/js-frameworks-benchmark4/webdriver-t... - full post to the comparison table before: http://www.stefankrause.net/wp/?p=316

Re: Rax – A universal React-compatible render engine

#14

Is it faster than Inferno[1]? [1] Inferno seems to be the fastest React drop-in replacement at 9kb size at the moment: http://stefankrause.net/js-frameworks-benchmark4/webdriver-t... - full post to the comparison table before: http://www.stefankrause.net/wp/?p=316

Inferno is definitely fast, but these benchmarks are highly misleading.

We're working on improving them so they better reflect the difference in keyed vs non-keyed implementations [1][2]. When ready, Round 5 should be a much more realistic apples-to-apples comparison.

[1] https://rawgit.com/krausest/js-framework-benchmark/master/we...

[2] https://github.com/krausest/js-framework-benchmark/issues/10...

Re: Rax – A universal React-compatible render engine

#15

Is it faster than Inferno[1]? [1] Inferno seems to be the fastest React drop-in replacement at 9kb size at the moment: http://stefankrause.net/js-frameworks-benchmark4/webdriver-t... - full post to the comparison table before: http://www.stefankrause.net/wp/?p=316

Inferno is definitely fast, but these benchmarks are highly misleading. We're working on improving them so they better reflect the difference in keyed vs non-keyed implementations [1][2]. When ready, Round 5 should be a much more realistic apples-to-apples comparison. [1] https://rawgit.com/krausest/js-framework-benchmark/master/we... [2] https://github.com/krausest/js-framework-benchmark/issues/10...

Thanks, I was just wondering why the OP didn't compare Rax to Inferno.

Re: Rax – A universal React-compatible render engine

#16

Earlier quoted context omitted.

Inferno is definitely fast, but these benchmarks are highly misleading. We're working on improving them so they better reflect the difference in keyed vs non-keyed implementations [1][2]. When ready, Round 5 should be a much more realistic apples-to-apples comparison. [1] https://rawgit.com/krausest/js-framework-benchmark/master/we... [2] https://github.com/krausest/js-framework-benchmark/issues/10...

Thanks, I was just wondering why the OP didn't compare Rax to Inferno.

Inferno is gonna be really tough to beat, at least for non-keyed implementations. We don't have a keyed implementation from them, so it's hard to say exactly how they do there, but i dont doubt that it'll be at or near the top. For now kivi is likely the fastest possible but the way you have to write your code with kivi is rather unpleasent. However, the whole point of kivi was to push the perf boundaries, not to be useable directly.

At the end of the day, there are numerous If you wanna read a lot more of our convo, head over to: https://www.reddit.com/r/javascript/comments/5m2u0s/infernoj...

Post reply on HN