3 ms·
Performance without Compromise: React.js for TV UIs
- tangue 10y agoAs an user let me tell you what I think : React sucks. Watching this I'm asking myself about what I'm enduring today because of some js paradigms and developper happiness : my worst user experiences on the Internet today are on Facebook (Where I need 5-to 6 seconds to see my notifications) and Coursera (where I could wait a minute before a page is displayed after a click ) So my experiences with React are pretty negatives now. If anyone a has a posterchild to recommend me so I can reconsider this framework I'm open.
- chrisco255 10y agoReact is very, very fast. Among the fastest UI libraries and frameworks that exist for front-end development. Whatever performance woes you have on Facebook or Coursera would more than likely have to do with server-related latency. To see a comparison of various JS libraries and how they stack up, Auth0 did a great benchmark including Virtual DOM, Angular 1 & 2, React, and more: https://auth0.com/blog/2016/01/07/more-benchmarks-virtual-dom-vs-angular-12-vs-mithril-js-vs-the-rest/ https://auth0.com/blog/2016/01/07/more-benchmarks-virtual-do...
- dleslie 10y agoFor front-end _web_ development. Unless I've missed something, Native UIs can still run circles around browser UIs.
- lj3 10y agoYou're not missing anything. I switch back and forth between game development and web development and what the web guys see as 'fast' is underwhelming to a game developer. The interesting part here is how far web devs are bending over backwards to accommodate the weaknesses of the DOM. I wonder how much longer it's going to be before we go full circle and browsers natively support something similar to WPF or Flex.
- diggan 10y agoAs another user and developer: Developers sometimes do a poor job, no matter what technologies they are using. Neither of the services you mention I'm a big user of, so not sure what to say about those. But I do agree that a lot of services that are using React, are still slow. But the thing is, it's hardly Reacts fault. If they used Backbone or Angular, it would still suck. I think the best examples of React is the sites where you don't really realize it's using React. It's like 3D graphics in movies. People never say "Oooh, those animations/vfx where so good", because if it's good, you don't notice it. However, if it's bad, it's very obvious. For a list of some websites/apps that are using React, take a look here: https://github.com/facebook/react/wiki/Sites-Using-React https://github.com/facebook/react/wiki/Sites-Using-React Ps, if you try to use React as a framework, you're not gonna be able. React is just one part of the puzzle. Other than the view layer, you have to figure out the other pieces.
- tracker1 10y agoI find that a lot of Angular apps are pretty badly composed... The use of one better option doesn't fix when you don't understand when/how/why to apply a given paradigm or architecture. I'm fighting with this daily... :-( (passively looking for a new job because of it, frustrated)
- tangue 10y agoOk "React sucks" is dumb and I deserved the downvotes. But I believe the UX is the great missing piece of the React ecosystem and theses videos are the first I see tackling the problem (though they're approaching it through the device angle)
- andrew_wc_brown 10y agoI think MithrilJS has the best trade-offs. You get insane speed without insane complications. I dread ever having to write ReactJS again as the entire setup is quite gross. The sliver of speed in ReactJS is not worth the bloat.
- lj3 10y agoI hadn't seen MithrilJS before. It looks great. It makes me wonder what kind of voodoo I'd be capable of if I combined it with Nim[0]. [0]: https://hookrace.net/blog/what-is-special-about-nim/#compile-to-javascript https://hookrace.net/blog/what-is-special-about-nim/#compile...