Re:Ask HN: Why was React Native recommended to me? Not seein...
by paulryanrogers on Saturday March 10, 2018 @02:45PM
(#16559840)
React is newer than jQuery so there aren't yet as many mature libraries out there. Still, it's component-ized approach, especially with Redux, can help keep complex applications easier to manage and reason about.
[ Parent
| on HN ]
Re:Ask HN: Why was React Native recommended to me? Not seein...
by bdcravens on Saturday March 10, 2018 @04:05PM
(#16560153)
React isn't "new". It was deployed on FB in 2011, and open sourced in 2013. (2006 for jQuery). 4-5 years is plenty of time to develop a rich ecosystem of libraries ... just recall jQuery circa 2010-2011.
I certainly wouldn't want to build a mobile app these days with jQuery, since that would generally mean more of a pure Cordova app. (I do think that Ionic however would be a great option depending on the use case)
Re:Ask HN: Why was React Native recommended to me? Not seein...
by briandear on Saturday March 10, 2018 @04:43PM
(#16560328)
Cordova or Ionic is perfect for those that don’t care about the user experience.
Re:Ask HN: Why was React Native recommended to me? Not seein...
by mercer on Sunday March 11, 2018 @05:53AM
(#16562373)
Or those who have considered the options, advantages and drawbacks, and decided Cordova/Ionic is the best tool for the particular job.
Re:Ask HN: Why was React Native recommended to me? Not seein...
by teachtyler on Saturday March 10, 2018 @03:38PM
(#16560047)
Since React isn't the only component based framework, I think there are easier ways to manage and reason about a front end. In fact React works well in certain cases, sure. It's just that any philosophies or paradigms that it introduced are in almost every framework now as an addition, see: NgRedux or Infernal.js.
Personally, React wasn't an easy shift coming from an angular background; I just felt the state flow was cumbersome compared to 2 way data-binding; although some people swear by it and say it's the only way. I think the real take away is that there's plenty of options to choose from.
It's not far off to imagine that React may not be the flavor of the year at some point.
Re:Ask HN: Why was React Native recommended to me? Not seein...
by thatswrong0 on Saturday March 10, 2018 @05:14PM
(#16560442)
I’m curious what about the state flow you find cumbersome? Are you talking about using just pure React with prop passing everywhere or something like Redux that lets you subscribe components to specific state changes?
Re:Ask HN: Why was React Native recommended to me? Not seein...
by acemarke on Saturday March 10, 2018 @03:32PM
(#16560012)
Disagree - there's a huge thriving ecosystem of React components and libraries available, and many of them are mature.
Re:Ask HN: Why was React Native recommended to me? Not seein...
by Demiurge on Saturday March 10, 2018 @03:40PM
(#16560059)
I haven't thought about comparing React to jQuery, but I think that's good point. React is probably an equally important and ubiquitous stepping stone of a library for JS. Love it or hate it, its a new standard.
Getting into it pretty much guarantees a certain level of productivity and community support.