TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

How Facebook’s React Native Will Change Mobile Apps

24 点作者 xngzng大约 10 年前

5 条评论

rubyn00bie大约 10 年前
They sort of disclose it, but the author of the article is also CEO of:<p><a href="https:&#x2F;&#x2F;www.fusetools.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.fusetools.com&#x2F;</a><p>Which is seriously banking on cross platform development. I find this article to be dishonest at best.<p>------<p>More to the point, I hate this idea that Javascript and HTML can&#x2F;should be used everywhere. Why? What about them is good? That they&#x27;re easy? For who? N00bs?<p>I find writing apps for the browser to be incredibly obnoxious because of competing APIs, absolutely mysterious memory management, and a lack of standards. I started my programming life making my UIs with web technologies and I can say after having done native programming-- I never want to go back. It&#x27;s actually easier (for me), and less buggy, to produce native applications that are networked.<p>I find the combination of CSS, HTML, and Javascript to be a disconnected burden. I find the plethora of competing frameworks all achieving the same thing to be a burden. Javascript is a alright language, I certainly don&#x27;t hate it, but I just don&#x27;t see any reason to use it when I have alternatives available...<p>Lastly, as others have pointed out this does nothing for helping you learn the APIs (which is the hard part). In the end, to understand the APIs you&#x27;re going to have to learn some of the language anyway-- before you know it, you&#x27;re just writing native code because it&#x27;s easier.
评论 #9410983 未加载
fnayr大约 10 年前
&quot;Many of them [JavaScript developers] have dreaded the day they’d finally need to learn the more complicated Objective-C, Swift and Java languages&quot;<p>Learning the languages (syntax) was never the difficult part. Learning the frameworks was. And React Native doesn&#x27;t solve that.
评论 #9410147 未加载
serve_yay大约 10 年前
At least for me the issue isn&#x27;t Objc or Swift. I like Objc and have known it a long time; Swift seems a bit half-baked currently but still I like some of the ideas there. I find this attractive because of React-style programming (setting state renders UI components), the ability to easily style widgets, and the short feedback loop, while retaining the ability to write a native app. OK, I&#x27;ll admit I prefer to write JS than those other languages, but it&#x27;s not the biggest part.<p>I have concerns about wrapping native widgets&#x2F;objects to use in JS-land, I wonder what limitations that will incur. But overall I think there is a lot to be said for this idea and I find it pretty exciting.
Animats大约 10 年前
So you write the business logic and layout in Javascript, but the platform&#x27;s native GUI elements are used.<p>That&#x27;s what a web browser does. Is this basically a mini-browser that looks like an &quot;app&quot;?
评论 #9410238 未加载
评论 #9410112 未加载
评论 #9410407 未加载
genu1大约 10 年前
This was obviously written by someone who doesn&#x27;t understand the &quot;React&quot; part of React Native.<p>Can someone downvote this or get this garbage out of the feed. It&#x27;s stupid that it is even listed. Unless it&#x27;s there to be made fun of as an example of bad journalism?
评论 #9410044 未加载
评论 #9410017 未加载