Live data from Hacker News

Facebook Announces React Fiber, a Rewrite of Its React Framework

techcrunch.com

211–220 of 422 posts

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

#211

Great. I was waiting for React to stabilize before I learned it. I've been cleverly waiting since 2006 to learn jquery. Will start next year.

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

No API changes doesn't mean that your code will work 100% as it was before.

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

#212
post #159

Does it the Frontend ecosystem has yet another new framework? Do we have to retire the old one and learn the new one all over again?

No, because React Fibre is more or less a rewrite of the internals with no API changes.

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

#213
post #30

I've been working with react for a bit more than a year, and I am trying elm. I think elm is the best thing that happened to the web in general. It's really daunting at first, but I highly encourage you to try it.

Elm blows me away. It's everything I saw that React was trying to do, but bound up in an actual language that has strong Haskell-ish types, is fully functional, and mind-bendingly fun to learn.

Elm really could be the future of bullet-proof web development. It has everything it needs except for runaway popularity.

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

#214

Earlier quoted context omitted.

And I would love if my 2001 Honda Accord was compatible with Tesla's autopilot, but I understand it is not a realistic expectation. I'm not sure why you'd expect the web to be a. Mostly text and b. able to render easily on obsolete devices. The web is becoming a robust application delivery platform. That is so, so awesome. Most people do not want to be stuck with shitty looking, text only websites. Moving the platfor…

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.

I'm using Chrome but I tend to agree. A particularly painful area of Facebook is Buy/Sell pages. It slows to a crawl if you scroll through too many listings. Even on my 6 core X99 system.

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

#215
post #84

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.

As someone who has worked on a truly large React project, I can assure you this is not true. I cannot imagine the shitshow that project would be using jQuery to track the state. Nearly as soon as you progress from 'backend rendering html' to single-page-app, it behooves you to use React.

> As someone who has worked on a truly large React project, I can assure you this is not true.

Worked on or maintained an existing app for a number of years? There is a very big difference.

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

#216

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.

Might be more Firefox than your macbook or the web. I've noticed (while developing an extension) that Firefox feels noticeably more sluggish than Chrome. Safari somehow feels even faster than Chrome, but I'm too tied to the extension ecosystem of Chrome to switch.

I have the same experience with Firefox on OSX. I noticed that it isn't an issue with the dev version of Firefox with multiprocess turned on.

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

#217
post #172

Earlier quoted context omitted.

>"At the end of the day all it would take is one of the 3 major browser vendors to offer an alternative." You mean like Dart? Besides, languages that target WebAssembly are almost certainly going to evolve to fit that space.

I have serious doubts that WebAssembly is really going to come to dominate the web the way many people here seem to believe it will. The idea that all of sudden there is going to be a rush to push compiled/closed sites after so many very successful years of using free-and-open stacks seems rather non-logical to me. Time will tell.

The success of the JavaScript stack was not dependent on source being shipped to the browser, and the push for WebAssembly​ is not motivated by keeping source away from the browser.

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

#218
post #127
post #103

Earlier quoted context omitted.

The word Java and "simple development" is just absurd for any real application much less most enterprise applications.

Is it that absurd? Building Java applications using Undertow with a build setup in gradle is not _that_ different from a node.js service using Express and package.json for dependencies, or a Ruby, Sinatra and Rake stack. After having tried all three, I ended up going back to the JVM. It's not a perfect ecosystem, but it's damned good one.

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.

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

#219
post #187

How does it compare with vue.js? I never worked with any modern JS framework like this but on paper I did not like writing CSS in javascript and vue.js had a normal way to write CSS and to me it looked superior in other ways as well.

Vue is pretty nice. Simple, high performance, and opinionated just enough to enforce some consistency in use.

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

#220

Great. I was waiting for React to stabilize before I learned it. I've been cleverly waiting since 2006 to learn jquery. Will start next year.

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.
Post reply on HN