Live data from Hacker News

Facebook Announces React Fiber, a Rewrite of Its React Framework

techcrunch.com

241–250 of 422 posts

Re: Facebook Announces React Fiber, a Rewrite of Its React Framework

#241

Earlier quoted context omitted.

I would love HN to provide an easy way to see where the reply thread to this first comment ends. Some js might enable that. Basic html/css - I think no.

It's that [-] button next to the username above each comment. It collapses all the cascading comments. It is enabled via JS. If you disable JS, then it disappears.

I suspect you could hack a similar collapsing thread UI together with styled radio buttons and no JS, if you really wanted to prove a point.

Re: Facebook Announces React Fiber, a Rewrite of Its React Framework

#242

Earlier quoted context omitted.

They may be robust but the user experience still sucks. JS heavy web sites are unresponsive and turn my 3 year old MBP into a vacuum cleaner. Facebook is the best example. I can barely load the web site without the fans spinning. Firefox can't handle it at all. It is unusable for me.

Something is wrong with your MBP.

It isn't just him. Facebook slowed for whatever reason on my PC too in the last half a year.

4.5 GHz 4670k, 16Gb of tight timings ram.

Re: Facebook Announces React Fiber, a Rewrite of Its React Framework

#243

I'll repeat the comment I made in the "React 15.5" thread a couple weeks ago ( https://news.ycombinator.com/item?id=14063818 ): For those who are interested in some of the details of the work that's going on, Lin Clark's recent talk on "A Cartoon Intro to Fiber" at ReactConf 2017 is excellent [0]. There's a number of other existing writeups and resources on how Fiber works [1] as well. The roadmap for 15.5 and 16.0 m…

I admire your exceptional work cataloguing these resources. However, just one look at that giant horde of links is, to me, a perfect demonstration of why the front-end development ecosystem is way out of control. Its amazing to me that the autoconf/automake/libtool system for making write-once-run-everywhere *nix applications is downright simple by today's standards. Every year the hot libraries change, the build too…

Old school devs and those who prefer to invest the bulk of their effort on the backend might be delighted to discover Intercooler.js

https://news.ycombinator.com/item?id=12885980

Re: Facebook Announces React Fiber, a Rewrite of Its React Framework

#244
... that was pretty uninformative. The first 4 paragraphs the author is just talking about nothing.

React Fiber is nothing new. It's more than an year old. Facebook has talked about it many times. Anyone who uses React would know this.

Shouldn't we prefer official sources instead of articles written by third party content writers that are clearly not that knowledgeable? Seriously, this article looks like the author was being paid by character count and not quality.

Re: Facebook Announces React Fiber, a Rewrite of Its React Framework

#245

No thanks I'll stick with plain html and jquery for the frontend of my small projects. Plain javascript works perfectly fine as long as you namespace your functions and separate them into different files. All these frameworks end up creating much more problems than they solve.

That's what I thought until I decided to use Vue for one of my smallish projects and subsequently realized the cognitive benefits are enormous. Now I'll only revert to plain old JS for VERY small projects where the mild overhead of a framework really doesn't make sense.

Re: Facebook Announces React Fiber, a Rewrite of Its React Framework

#246

Earlier quoted context omitted.

The implication was applications. But even then, everything on your list is emphatically not true: - operating systems Ironically Linux was one of the first things to ever be compiled to run in the browser using empscripten. - hardware drivers Linux doesn't run without hardware drivers. In this case, the hardware drivers were wrapping JS FFIs. - a networking stack Yes you can. - trading algorithms Why not? - fighter…

You can emulate a network stack and hardware drivers, but your "network stack" can't directly send packets outside of HTTP/Websockets/WebRTC/etc. and your "hardware drivers" just emulate hardware that doesn't actually exist. Trading algorithms, ultra low latency DSP, "processing data from LHC collisions or imaging satellites" are I think references to performance limitations. WebAssembly requires a fair bit of runtim…

Runtime checks don't stop you from doing heavy data processing or having microsecond-level response times. It seems like your objections fall into two categories. One is caused by it running in ring 3, which can be solved by correcting "anything" to "any user program". The other is moderate performance limitations that don't stop it from running full video game engines. Those may not be ideal but they won't stop you from running anything. Video games are among the most demanding things you can do in most ways. The single core of today is better than the multi core of a few years ago, and nobody claimed that those couldn't run all programs.

Re: Facebook Announces React Fiber, a Rewrite of Its React Framework

#247

Earlier quoted context omitted.

The implication was applications. But even then, everything on your list is emphatically not true: - operating systems Ironically Linux was one of the first things to ever be compiled to run in the browser using empscripten. - hardware drivers Linux doesn't run without hardware drivers. In this case, the hardware drivers were wrapping JS FFIs. - a networking stack Yes you can. - trading algorithms Why not? - fighter…

wish i had more time for the multitude of your generic "why not?"s, but i don't :( any language (high or low level) that allows you to write and execute deterministic assembly or machine code can be used to implement whatever you want. whether WASM ever reaches this type of broad security-sensitive wild-west remains to be seen, but my money is on "never". wasm will certainly expand into additional areas, but they wil…

That's entirely addresed by "The implication was applications."

Nobody was trying to make a claim about web assembly drivers. Just applications.

Re: Facebook Announces React Fiber, a Rewrite of Its React Framework

#249
post #7

> The company hasn’t previously talked about React Fiber Except, you know, the entire presentation on it at React Conf back in March.

They've talked about it so much they got sick of answering fan mail and stood up a site for it:

http://isfiberreadyyet.com/

Re: Facebook Announces React Fiber, a Rewrite of Its React Framework

#250
post #220

Earlier quoted context omitted.

Not sure if serious, but this update swaps out the internals without affecting users/developers, the API is fully backwards compatible

It's actually not. There are some lifecycle changes, potential modifications to setState (async only), etc. That's why it's being released as a new major version.

I think we may be splitting hairs over the definition of API compatibility
Post reply on HN