Live data from Hacker News

React Makes You Sad?

github.com

111–120 of 211 posts

Re: React Makes You Sad?

#111
post #94
post #42

Earlier quoted context omitted.

Yes, there is additional js loaded to do that. In the developer console you get a warning. It may be a tad slower.

Are you referring to JSXTransformer? I thought that was deprecated?

Yes, but now there's a version of Babel that runs in the browser and transpiles from JSX.

Re: React Makes You Sad?

#112
post #36

As a C and then a Ruby on Rails programmer, I never thought I would see the day that my main programming language was Javascript. But I find React such an enabling technology that I made the effort to learn Javascript properly, and am glad that I did. React itself is allowing me to write web applications faster and with less bugs, primarily because of the unidirectional information flow, but also because of the way i…

> Even better, I can now create both iOS apps and Android apps at the same time

Are you referring to native apps, or do you mean by making a Web app with React you don't need to make native apps?

Re: React Makes You Sad?

#113

I have tried to get in to React all week. The technology is easy, but it's Webpack that I'm having trouble enjoying. All I want is are two simple configs. A dev one with a server/hot loader, and a prod one that concats/minifies. ES2015. That's it. That just doesn't exist out there. It's either no decent production bundler, or it's like 15 files and 900 lines of configuration that seem completely overkill. I don't kno…

Check out https://github.com/ryanflorence/react-project, it’s very new but seems similar to what you are aiming for.

Re: React Makes You Sad?

#114

Earlier quoted context omitted.

Project seems abandoned, no?

Other correct comments about a quite active 'next' branch aside... The latest commit on master is Nov 12, 2015 . That's not even half a year ago . The stable shelf life of software worth mentioning is longer than that, don't you think?

Yes of course, but I would expect many commits between stable releases (patching issues). I guess this is just a different pattern where a solo-dev goes quitely working for a few months and then emerges with the next release.

Re: React Makes You Sad?

#115
post #64

Earlier quoted context omitted.

I'm working on a rewrite (for improving performance, modularity and for general house cleaning) and the github branch doesn't reflect that right now.

Are any breaking changes coming?

I'm planning to keep the basic, most used APIs the same, but yes, there will be some breaking changes. Promises will follow ES6 API and advanced redraw control APIs will likely be changed to improve ergonomics and leverage good ideas from other vdom libraries.

Re: React Makes You Sad?

#116

Earlier quoted context omitted.

Other correct comments about a quite active 'next' branch aside... The latest commit on master is Nov 12, 2015 . That's not even half a year ago . The stable shelf life of software worth mentioning is longer than that, don't you think?

> That's not even half a year ago. The stable shelf life of software worth mentioning is longer than that, don't you think? I can see that you haven't spent much time in the JavaScript ecosystem. And forget latest commit, if a JS project wasn't started in the last half year, it's already getting long in the tooth. After a half year, trendy devs will already start moving on to the next great framework and package mana…

Yes, that is my point, with so many options in JS frameworks, libs, etc, I normaly study Github activity before jumping in. Learning a new tool takes time and we cannot afford to waste it on dead-end projects.

Re: React Makes You Sad?

#117

There is an abundance of poorly written react apps popping up everywhere. Go to netflix and search for movies... the experience is terrible. The search box lags typing by a long shot. So much so its almost impossible to type in the full text of a movie name. I'm sure there is the correct way to do this (not making the field a controlled component?) but the problem being there on such a major site is a sign that its h…

I just went to netflix and it's not at all how you describe. It's incredibly fast and live filters as I type. There may be an abundance of poorly written react apps out there but netflix does not appear to be one.

Re: React Makes You Sad?

#118

Although I like this a lot, and I think it addresses most individual nuggets of React Sadness in a pretty reasonable way, I am still sad. I am sad because every process rectangle in this chart should also point to a decision diamond that says: "Does it seem that the entire industry has migrated to this stack, whether or not it really makes sense for everyone to? That a feedback loop now influences shops to choose the…

>Does it seem that the entire industry has migrated to this stack, whether or not it really makes sense for everyone to?

It definitely doesn't make sense for all types of websites, but React seems to me like a solid choice any time a) a true web application is desired and b) maintainability, interactivity, and scalability are high priorities. React isn't the best choice for static informational sites and such, but I can't think of an application that wouldn't be well suited to React.

Re: React Makes You Sad?

#119
post #64

Earlier quoted context omitted.

Project seems abandoned, no?

I'm working on a rewrite (for improving performance, modularity and for general house cleaning) and the github branch doesn't reflect that right now.

Glad to hear that. I've mostly seen positive feedback on Mithril so I wanted to test it out on a pet project before considering it for production.

Re: React Makes You Sad?

#120
post #36

As a C and then a Ruby on Rails programmer, I never thought I would see the day that my main programming language was Javascript. But I find React such an enabling technology that I made the effort to learn Javascript properly, and am glad that I did. React itself is allowing me to write web applications faster and with less bugs, primarily because of the unidirectional information flow, but also because of the way i…

> Even better, I can now create both iOS apps and Android apps at the same time Are you referring to native apps, or do you mean by making a Web app with React you don't need to make native apps?

React Native [0]. Your view-specific code still has to be done per-platform, but your core logic can be shared, and all of it is written with Javascript using React as the framework. The JS creates and controls native elements, with the native parts mostly abstracted away.

[0] https://facebook.github.io/react-native/

Post reply on HN