Hacker Newsnew | past | comments | ask | show | jobs | submit | UUMMUU's commentslogin

I'm lost as to why Grunt is a problem. I tried to put all of my build scripts in the package.json but moving to Grunt has been incredibly useful.


Because "code over configuration". Personally I'm not a fan of Grunt's API which requires huge json files where keys mean special things. It feels very ad hoc and ugly. Gulp's API is like 5 functions.


I'm sorry but this article reads like a narcissistic wet dream. The author continues to quote himself and even misquotes himself several times (look up "facebook has tried tried to remedy" and "facebook has tried to repair"). The rest of the article slams Facebook for its success and tries to say users don't want to use Facebook. I personally love what Facebook developers are doing in terms of React and Jest. In terms of Facebook's core product, I use it for easy social login and have unfollowed anyone who posts things I don't agree with so my "feed" is pretty well curated. Myspace sank because a better product came out. When someone comes out and does Social better than Facebook, Facebook will fall but until then: if you don't like it, good news, you don't have to use it.


>I use it for easy social login and have unfollowed anyone who posts things I don't agree with so my "feed" is pretty well curated.

Isn't that a very very bad decision ? http://en.wikipedia.org/wiki/Filter_bubble


I would hesitate to say it's very, very bad. I don't filter people on Facebook only because I disagree with them; I filter people on Facebook because, at one point, I really enjoyed the company of that person and their current tirade of hating (the police/minorities/the west/the east/obama/republicans/etc) stands to slightly jade our friendship. Anyone who can actively filter ALL opinions they disagree with is either delusional, locked in a cabin in the woods or much more active at filtering than I am.


This is probably going to be an unpopular opinion but I think the current push to make native feelings apps in JS is awesome. Playing with an app like Untappd and then realizing it's written by (at least originally) 2 people and still feels fluid is incredible. I've also never heard anyone except developers complain that it's not app-y enough. True things like games shouldn't be written in phonegap or react-native but I think to say that we should completely stop trying to build any native-feeling apps is wrong. I actively push anyone interested in turning their app idea into a working prototype use Meteor or React-Native or just straight up phonegap and if they get traction they can do what facebook did and rewrite.

I know this flies in the face of this article but I just don't think we should stop trying.


This may not be in line with the author's point, but I agree with you. You probably don't need to build a super optimized native app to launch your MVP. Developers should use whatever tools they're comfortable with for getting the job done. In the event that they get thousands of users and need to scale, then they can think about hiring people to build native apps.


I noticed in your first code example you use a mixture of leading a method with an _ and some without. Ex. navigateToContact vs _hasUnsavedChanges and _saveChanges. I read somewhere that a best practice is to always prefix custom methods with _ to differentiate from React core methods. What're your feelings on that?


Oh this is definitely a personal preference thing, but our convention is this: private instance methods start with an underscore, public instance methods have no underscore. Public ones have no syntactic difference from the core life cycle methods but that's ok to me because they're all easy to remember. Btw we use public instance methods very sparingly, basically as a last resort when all else fails.


Awesome. Thanks again for the write up. I love reading well written Javascript.


Very cool tool. Just curious as to why directories are not selectable. I did "ls | fpp" and everything got listed (directories and files) but only the files were selectable.


Yeah, we don't match on directories since the regex would overmatch other results (we would basically have to match anything that is words with a slash). However if we added support for checking for file / directory existence we could definitely add support for that


I think if you added the ability to traverse directories, that would take this tool to the next level. I kind of expected the tool to be similar to NERD Tree or Vim's explorer, which would be incredibly useful.


Don't forget about mc (midnight commander). Which is still hella useful

http://en.wikipedia.org/wiki/Midnight_Commander


Sounds like something I should give a try myself in a pull request.


I had way too much fun sliding the Hue Rotation back and forth to create Disco Kitty. Thanks for sharing, I knew about blur and opacity but the rest of these were new to me.


This could be the new blink tag!


Excuse me for being unreasonably giddy but I've been eager as hell for this to be released for a time. I have grown to adore React and React Native and really enjoyed Flux. Facebook dev hitting on all cylinders!


I've been hoping they would do this for a while. A couple years ago my friend sent me 2 screenshots she'd grabbed from Lulu app of my "profile" basically a girl I'd dated had signed up and it pulled all the info from guys she was friends with and allowed girls with the app to rate them on everything from how polite they were to what they did for a living to how they were in bed. This was pretty insulting as the only way to delete your "profile" was to sign up for the app and log in with facebook. Sorry for the long story but I'm personally glad Facebook is doing this.


That's pretty messed up!


I think it's more of a proof of concept than something you'd really want to throw on a site. Also, I'd say there could be some potential uses like for a music player or for a site that's less app and more website.


I thought it was a joke because of the typeface and choice of colours and ... well how it looks. It just looks silly. Here's what I see mid-animation:

http://i.imgur.com/wqD0v9h.png

If I were a web designer that's what I'd do to make fun of the concept.

Maybe it is serious.


Very cool! I could see the music player being pretty useful but the animation seems to be off when you toggle it opened/closed; almost like the icons are being overlaid on each other. That cirle wheel nav with submenus is so cool though. Very neat!


Not to beat a dead horse but why was this downvoted? I thought downvotes on HackerNews were to be reserved for offensive/destructive comments? If my comment above offended you, please explain why instead of just downvoting it.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: