Edit: Thanks for pointing typos and mistakes, I’ll update the article as noted. Discussion in HackerNews and Reddit. hackernoon.com
2016 年做前端开发是什么体验？混乱+开倒车，这是我的体验 - V2EX
程序员 - murmur - 有人说，你有什么资格发表这种高谈阔论，实际上是这样的，我在看 lol 比赛直播的时候，有个很有名的主播说过，打到 2400 以上的都去做职业玩家了， 1800-的还在挣扎，只有 2000 徘徊的才出来 www.v2ex.com
Well, I’m in Shanghai and I’m still building a front-end MVC library called Respo . Hopefully it will make the situation more chaotic. Personally I’ on the React side. But due to the doubts on React community I started learning ClojureScript even though it’s a bad choice for a job.
And in some degree, I don’t like Facebook’s tempers. In my last company we were using CoffeeScript and React is becoming more and more unfriendly to it. We used Flux at first to build a large app with more than 100 components, and it become hard to migrate. Then the React community prefers to use Redux, a lot of tools are built around Redux. react-router is incompatible with Redux so there’s redux-router. Then, Redux updates. Also react-hot-loader updated to something I can never use in CoffeeScript. It’s like we were abandoned.
That problem comes to Webpack 2 as well. One of my workmates used it as a dependency. Then it broke after an update. You could say Webpack is still in beta and we need to be careful from the beginning. Yeah, we should. But seems Vue 2 is using it somewhere, we thought it’s already stable enough. And Webpack 2 was said to be release by the end of August. How its October, there must be issues.
Surely Facebook is very kind to share lots of it tools to the community. Those tools saved us small companies and medium-sized companies a lot of time. We don’t have to stay in the jungle of jQuery and template engines. It’s great improvement to us when I can migrate our app from Backbone to React and gain benefits in developing and maintaining. The problem is, it updates.
While Facebook is large, there’s a lot of small ones doing different businesses. My previous company aims to provide realtime collaboration tools with html5 and native apps. It ends with a very large simple page app looks like combining the webpages of Trello, Sunrise, Dropbox and Asana. And my teams was working on a chat app(like Slack). Those works requires lots of skills on building single pages apps. To make it faster, we need code splitting, basic server side rendering, memory control and a lot of stuffs. And also there are companies integrating HTML5 pages into native apps in China, which requires techniques to make mobile pages loaded instantly. Some of them are different from large company, some are not.
Server side rendering is an old thing in React community. But as I was learning Vue’s SSR, I found SSR code for React is not even merged. Actually no updates for months. That’s strange when React is such a friendly and active community. After React updated to 15.x, suddenly we have no official solution for SSR. I don’t know what’s happening there.
I don’t use CoffeeScript often now, since my new work prefers ES6. But you guess what, people are still downloading coffee-script every day. That number even succeeded babel-core at this moment, which can be confirmed on npm.