Re:Why I'm Not a React Native Developer
by SimonSelg on Friday September 23, 2016 @12:21AM
(#12562290)
Great article. On a side node, however: please don't write code like this:
Instead, simplify the logic
The random choice is also overy complicate (and on a side node, the value is more likely to be false then true due incorrect comparision operator usage)
If we use ES6, we can use the shorthand notation to simplify the code even more
[ Parent
| on HN ]
Re:Why I'm Not a React Native Developer
by christiangenco on Tuesday September 27, 2016 @05:52PM
(#12593551)
I'm so glad you noticed this - it was bugging me.
I've noticed a pattern in "X vs. Y" articles where the examples of the technology the author doesn't favor are unnecessarily complex.