5 ms·
Lol. I found React interesting, too, but I don't like to read Javascript code, so I rolled my own React-like framework in Scala. Life is so much easier if you d
by auggierose 11y ago
Lol. I found React interesting, too, but I don't like to read Javascript code, so I rolled my own React-like framework in Scala. Life is so much easier if you don't have to depend on other peoples mess.
- acjohnson55 11y agoYour comment would be helpful if it linked to something people could see, but otherwise, it just comes off as empty bragging, without a coherent critique. To me at least.
- Confiks 11y agoI think publishing code would be in conflict with parent's message; by using your own hand-rolled mess, you at least don't have to depend on other people's mess. I must agree that my own mess is far more comprehensible that someone else's. Until Old Code Syndrome strikes, anyway.
- untog 11y agoLife is so much easier if you don't have to depend on other peoples mess. Future-you is going to look back on this comment and curse loudly.
- auggierose 11y agoI am already future me as I did this about 1.5 years ago :-) The stuff is not open-source yet, but reading most of the comments here I wonder why anyone would want to open-source things? To meet the friendly people of HN? ;-)
- verisimilidude 11y ago...where "other peoples mess" is based on battle-hardened production code from Facebook...
- kec 11y agoOn the other hand, React is from the same Facebook which determined that the same technologies which Apple uses to write, build and debug an entire OS aren't powerful enough to write a social media app which runs on that OS.
- goldbrick 11y ago"battle-hardened", yet churns drastically every release? You and I have different ideas of what battle hardened means.
- danabramov 11y agoCan you please help me understand the issue by providing a specific example of how a new React release introduced churn in your project?
- goldbrick 11y agoSure, I started a react project and got everything working with es6 and babel in October. In December I upgraded to react 0.14 and had to refactor all the things. It was extremely difficult to figure out how to solve some of the arbitrary-seeming changes, such as now having to re-bind all of the methods in the constructor.
- danabramov 11y agoWait, why did you refactor all things? I’m afraid you have been misinformed. :-( Please read the official release notes when upgrading. Nowhere does 0.14 say you need to change components to use classes. They are allowed now (since 0.13) but React.createClass() is still there and is not going away any time soon. I’m afraid you listened to bad advice.
- goldbrick 11y agoI was already using es6 classes so I didn't have the choice. I couldn't get 0.14 to work otherwise.
- ktRolster 11y agoSounds like you just made your own mess