5

Today there was a question on the react native forum asking how to map an array..... ([].map(mapFunction))

1) it's the wrong place for the question

2) like 80% mentioned ramda, lodash, underscore :(

Comments
  • 0
    I do not know if i'had correctly understand your post but u don't need underscore or lodash for that
  • 0
    @Hizen exactly!!!! Why would they suggest using a library... :(
  • 1
    People are slacker and need to use library just for a simple thing
  • 0
    I use lodash a lot but it's useful only for some particular complex things (like zip/unzip or has function with a lot of nested properties).
  • 0
    @slinkydeveloper nothing wrong with that. He just needed one property from a shallow object.
  • 0
    @spearmootz yea of course, i agree with fact that in most cases they are useless
  • 1
    It's actually a little bit insane. Anytime I'm using JS and search for something, even really simple like making a post request in nodeJS. People suggest 3 different libraries that can do it, instead of the 3 line vanilla solution...
Add Comment