Live data from Hacker News

Facebook Announces React Fiber, a Rewrite of Its React Framework

techcrunch.com

311–320 of 422 posts

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

#311

Earlier quoted context omitted.

It's TechCrunch... I won't say anymore because I'm also a member of the press... but it took me 3 seconds to find this on Google: https://gist.github.com/duivvv/2ba00d413b8ff7bc1fa5a2e51c61b... Somebody forgot to fact-check his article. That's for sure.

Most reporters these days don't appear to fact check anything anymore. It's too important to get the first story out.

I always imagined that a company of TechCrunch's size would have interns that do all the fact-checking... similar to VICE: https://motherboard.vice.com/en_us/article/editorial-intern-...

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

#312
post #308
post #304

Earlier quoted context omitted.

Javascript fatigue is real. Shit in front-end land changes so fast it is impossible to keep up with. We just finished a rewrite from jQuery to Angular 1, with updates to all the tooling that goes along with it. We're now at least three years behind the curve... Hooray! Meanwhile, the backend frameworks we've been using have had one minor version Nuget package release in the same timespan.

Angular 1 is 7 years old. And guess what? It's still a perfectly valid framework to build a web application with. There is no "curve".

Of course it's a valid framework. But the cool kids have all moved onto Angular2, or React, or some other thing I'm too stuck in the mud to even know about.

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

#313

Earlier quoted context omitted.

If you're on gradle you're already pretty cutting edge compared to most enterprise java setups. Probably most projects are still using maven. Also there's definitely been some cross pollination of ideas from at least the Ruby world to the Java (Rails inspiring Grails and probably Play too), so it's getting better. Add java8 lambdas, and it's quite nice.

> Probably most projects are still using maven. Aren't you optimistic.

Yeah, I would love me some maven...

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

#314
post #301

Earlier quoted context omitted.

If it wasn't a problem, it wouldn't be upvoted. That is how voting works. I'm not a JavaScript programmer, although I have dabbled extensively in the past. My impression of this thread is that not much has changed in that world. Sencha, titanium, and Phonegap were super hot back in the day, along with jQuery, SproutCore, Knockout and Backbone. Now it is all different for JS. That fuckng sucks.

It's such a dumb argument that boils down to "things are changing and I don't like it!". Javascript fatigue is not real. I am completely convinced anyone who says otherwise has never had to maintain a non-trivial web application in Backbone/jQuery -- meaning they're complaining about frameworks that weren't built for their use cases.

No. It's "things are changing for no other reason than some overpaid FB brogrammers with too much time on their hands require Internet attention and need something to gloat over for the next conference."

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

#315

Earlier quoted context omitted.

The benefits you acknowledge (distribution) are not because of the tech but in spite of it. At the end of the day all it would take is one of the 3 major browser vendors to offer an alternative. That alternative could be distributed to a large percentage of desktops in a relatively quick manner saving billions if not trillions of dollars in wasted productivity. It will never happen though. * EDIT: This comes from som…

No-one could even agree on making HTML5 valid XML - in order to leverage all the tools and knowledge that exist in that space. Not that I even like XML. But having another XML dialect that's not actual XML shows that the only hope is to build valid tools and abstractions on top of all the crud.

There's nothing "not actual XMLish" about HTML. HTML is formally describable in its entirety using SGML (see my project at http://sgmljs.net/blog/blog1701.html), just not by the XML fragment of SGML.

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

#316
post #80
post #47

Earlier quoted context omitted.

Why is an active ecosystem with healthy competition a bad thing? Personally, I can't stand javascript, and why you'd ever elect to use it for backend/server side code mystifies me. So I don't use it (or work in web development), and couldn't care less about what platform the hip web devs deem acceptable.

I mostly agree, however it does seem to make some sense to dive deep into one ecosystem, instead of learning & keeping up with two. (Let's not pretend that Javascript is the only one advancing--Django of a few years ago is not compatible with Django of today, as one other example). I have always used python/ruby on the backend, and I prefer them, but I recently worked on a couple of javascript backend projects, and I…

Would you mind elaborating on some of those practices (specifically, the problems that made working on the first codebase abhorrent)?

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

#317

Earlier quoted context omitted.

And thus, yet another insipid "hey let's argue about JS fatigue!" comment clobbers another HN comment page, with 100+ replies not one of which has anything to do with TFA .

If it wasn't a problem, it wouldn't be upvoted. That is how voting works. I'm not a JavaScript programmer, although I have dabbled extensively in the past. My impression of this thread is that not much has changed in that world. Sencha, titanium, and Phonegap were super hot back in the day, along with jQuery, SproutCore, Knockout and Backbone. Now it is all different for JS. That fuckng sucks.

> If it wasn't a problem, it wouldn't be upvoted.

It's upvoted because it's HN's current favorite holy war. "Front-end development is out of control" is something everyone has an opinion about, in a way that the announcement of React Fiber isn't.

That doesn't mean the same debate needs to be re-litigated every two days. Occasionally would be fine, but when it happens in every tangentially related thread it sucks the oxygen out of everything else.

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

#318

Lin Clark's talk makes this sound like they implemented a scheduler in React -- basically JS is single-threaded, so they're implementing their own primitives and a scheduler for executing those on that main thread. Sounds neat, but it also seems like an explosion in complexity -- perhaps there will be a bunch of weird scheduler bugs the operating system folks more or less figured out a long time ago?

New code certainly carries risks that old, known code doesn't. And yes, this does carry over towards OS scheduler territory. That said, the early feedback from others in the React community is that the Fiber implementation is simpler overall and easier to work with than the "React Stack" implementation. Fiber is also explicitly built to support additional renderers on top of the core reconciler, while building render…

I'm an author of a custom renderer and yes it's so much easier to make a renderer to work with fiber :) I'll do a write-up on it eventually but I'm sure others with more time will beat me to it.

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

#319
post #16

http://isfiberreadyyet.com/

The page is completely blank with javascript disabled (which is how I browse the web). So I guess it's not ready yet.

Do any of these fancy frameworks actually make a HTML fallback anymore? Most of the web pages I visit still renders fine without javascript.

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

#320
post #46

Earlier quoted context omitted.

It's quite possible to use react with nothing else: no build tools, no transpilers, no fancy JSX, so in terms of tooling complexity, it can be as simple as you want or as complex as you want. Regarding the complexity of the underlying system, I think this is not a concern of the typical frontend developer. It has nothing to do with JavaScript or the web. If you are writing a "simple" C program on Linux, would you be…

Any resources you can provide about how to use React without JSX? JSX is a blocker for me.

Just React.js Please

http://designbymobi.us/just-react-js-please/

Post reply on HN