初创公司使用 ReactJS 就是在向 Facebook 交税

2016-08-09 14:43:26 +08:00
 FrankFang128

原网站挂了,在此存档。

ReactJS is a tax Facebook levies on startup web development.

https://typed.pw/a/1322

https://www.reddit.com/r/reactjs/comments/4vyo0l/reactjs_is_a_tax_facebook_levies_on_startup_web/

Although initially I was very excited about React, after working on several teams doing React-based web development I ’ ve found the overall amount of effort spent developing web applications is significantly more than vanilla HTML/CSS/JS.

We reached the point where our people spend more time (and code) tricking the framework into doing what we want it to do.

Also performance is abysmal.

The component philosophy of React does offer some organizational benefits, especially for working in a team, but it ’ s nothing that couldn ’ t be replicated by some simple coding conventions.

Facebook - as a company that can ’ t really move fast anymore (and doesn ’ t have to) - knows this imposes the same restriction on smaller companies by taking away their agility and maxing out developer resources for work on what used to be trivial stuff. From Facebook ’ s perspective, React has to serve two functions:

priming and funnelling programmers into their enterprise and

suppressing development efficiency elsewhere.

It ’ s positioned very well to achieve both.

Don ’ t get me wrong, I think it ’ s perfectly well designed to suit Facebook ’ s internal needs while at the same time it ’ s guaranteed to drain resources from startup developers. Intent is not necessary, it ’ s just what happened.

If other shops felt the same way you did about React … about the folly of developing apps with “ vanilla HTML/CSS/JS ” that you don ’ t …

I ’ m fairly confident that almost nobody shares this opinion, so personal attacks on my competency are expected, yes.

The problem with all tech fads is that support for them is absolutely ardent, until the pendulum swings in the other direction.

6832 次点击
所在节点    JavaScript
34 条回复
zongwan
2016-08-10 10:19:46 +08:00
从不懂前端的角度来探讨:
不付出哪里有回报
刚好不会前端,从这里上手也挺不错的
至今为止还不能很好分辨流行的几个框架的区别。。。
不过 react 对个人来说最好上手,使用 react native 还能最快地建立一个热更新原生应用
万一 react 真黄了的那个时候背后也冒出一堆代替方案了,再不济也会了一点原生应用的编写模式 可以改行
等 ES 新标准出来后这些可能都会变为时代的眼泪

PS:国外貌似也很流行的 Ember.js ,可惜圈子太小基本没见到有人讨论。。
ivanlw
2016-08-10 13:06:15 +08:00
这你们就不懂了吧,前端人员弄出这些框架,就是为了让他们做的东西显得高大上,只有 html 和 css 工资哪来能高?
FB Google 这些公司有的是闲钱来招聘这些前端人员,弄出个新的框架,不仅这些人的牌坊有了,顺便还帮公司立一个牌坊
foomorrow
2016-08-10 13:08:57 +08:00
自己写个 virtual-dom 呗 又不难
FrankFang128
2016-08-10 13:11:08 +08:00
@foomorrow 用 DOM 为什么要用 Virtual DOM ?
russj
2016-08-10 13:26:41 +08:00
给你编一个汽车阴谋论

骑马多环保啊,那些发明生产汽车的都是想害人,那些工程师现在把车做得又漂亮又舒适,还不是为了自己赚钱?每年几十万人死于车祸啊,被马撞死的几个?你需要那么快去别的地方吗?人类走路骑马几千年了都没问题。现在又搞电动车,其实汽油柴油就够了,马斯克不这么搞他能融到资?

只要你坐车就上当啦,啦啦啦
chilaoqi
2016-08-10 14:34:17 +08:00
不然呢?老板雇你来不就是让你熟悉各种框架,好好研究,强身健体,然后跳槽好 double 么? 0.0
dantegg
2016-08-10 18:31:08 +08:00
反正我觉得楼主水经验的姿势水平很高 233
FrankFang128
2016-08-10 18:39:05 +08:00
@dantegg 从不签到,一缺铜币我就发帖。
FrankFang128
2016-08-10 18:45:41 +08:00
@mdluo 他喷人,我只喷技术。
tinyproxy
2016-08-10 22:26:10 +08:00
startup ?有牛人不?牛人有时间去处理这种基础框架的问题不?如果没有,那么老老实实填个久经考验的东西做东西是最安全的,为什么大公司搞这种东西完全 OK ?他们有雄厚的人力财力来掌控代码(比如 Google 把 webkit fork 回去,需要添加功能自己开发,后来直接改名就 blink),小公司起步阶段大多没有这种实力,不务实怪 Facebook 咯。
seeker
2016-08-11 13:23:45 +08:00
刚才看了下 github ,有人知道为什么 react 的版本号从 0.14 一下子到了 15 ?
FrankFang128
2016-08-11 14:32:36 +08:00
@seeker 任性,故意的。
keyanzhang
2016-08-13 12:01:18 +08:00
evil4u
2016-08-15 14:00:10 +08:00
初创公司能用 ReactJs ,那最好, P 三端平移成本低。
不会也没关系, jQuery 工具库, vuejs 先用着。业务验证,有用户有融资,再换技术栈也不迟。

用户数少于 10W+的用这种新技术体现不了什么价值。

总之,技术为业务服务并提供支持,什么阶段配什么技术。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/298110

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX