To the legend of the golden autumn in October, October to, as if the atmosphere suddenly become tense, gradually thick autumn time to remind themselves, is a year quietly close to the end. Whether the flag at the beginning of the year has been completed, whether you are running your better life as planned, whether you have made a great leap in technology, and whether you are closer to the peak of your life? He kept asking himself one question after another, his head spinning… Hands hung over the keyboard for a long time, unable to write.
Count up the days when do the front, almost two years, compared with the growth curve of others, self-examination is not enough effort, grow slowly, day by day become warped almost the same code, symbolically open gayhub countless times a day, pretending to be focused on the direction of the latest technology, but waking life, the more calm, the more confused.
Front end is a university ask, big to recall the beginning of that time, did not understand the real meaning of the word “front end”. I remember working for a year or so and still wondering how NodeJS started web services.
At the beginning of my contact with the front end, I felt that a page, three files, HTML, CSS, JS, complete the layout and logical interaction, so that users can visit and complete the construction of the website. And today, the explosive development of the front-end technology, let I seem to have a slightly feeling the same surprise, front frame of thought contend, pack to build tools increasingly convenient, front-end technology selection, infrastructure, project management, module, the service side rendering, code test detection, a distributed cluster, automated deployment, finally appear in front of the user is always the web page, Hidden in the back is still HTML, CSS, JS troika, so think about it, front-end development is always the same, it seems to return to the most primitive times, but in terms of development experience and project management, it is not the young girl in those days.
Every day Zhihu will push some front-end related questions. I remember seeing a question that jQ can operate DOM much faster than VUE in some scenarios. Why do we use MVVM framework instead of native JS? Don’t see the real point of doing so much extra work, to be or not to be? Performance or scalable maintenance? In uVU’s words, the performance sacrifice is minimal compared to project maintainability. The rapid development of the framework and the superiority of project management are needless to say. However, if front-end development really goes back to the most primitive times, whether we can use today’s project management ideas to create a more convenient development experience is not a problem, but it is also a small question THAT I have been thinking about more than once.
With the release of React 16, Fiber and hooks entered the public domain, and AngularJS released vUE and V7 versions. Vue 3.0 prototype also looks like React. The three frameworks are written more and more like WebComponent, and the encapsulation based on application layer is also exploding. Me in the eyes of the front-end development, outside the user interface and state management two parts, each big module is stride forward in the direction of the optimization of the two brothers, both state management of lightweight highlyeffective, split or build the user interface module reuse, whether the cache and the limit of the offline package to create space, or make full use of the code break up, depend on the load, The ultimate philosophy of front-end development is to provide the ultimate user experience and improve maintainability scalability. Front-end development has never been as prosperous as it is today. Out-of-the-box third-party libraries such as CRA, VUE-CLI, NuxT, UMI, Flutter and other CLI have sprung up. Nodejs has entered the back end and become the best tool for server rendering. The plugin market has not slowed down, dVA, enzyme, ANTD, data buried point, data mock, etc., package tools gulp, webpack, Rollup, for the inexperienced front-end ER, a Webpack configuration is enough to drink a pot. Front-end project management from technology selection, construction to multi-terminal output, automatic deployment, also slowly to the LerNA management Monorepo forward. With the popularity of small programs, major platforms have followed suit one after another. Native applications stride forward to hybrid on a large scale, and the front-end almost covers all major applications due to the cross-terminal cross-platform feature. This is not necessarily the best era, but it is indeed a prosperous era.
In the post-front-end era, we have to pay attention to TypeScript as a superset of JS, providing static type detection and other features, which are very inclusive: React support.tsx, Vue support for TS has been great since V2.5.0, and Node.js (especially egg.js, Midway) is seamlessly integrated with TS. WebAssembly allows more languages to run in browsers, and now supports multiple browsers. For those of you interested, one-size-fits-all JS may not fit in the post-front-end era. Under the background of strong operation, hybrid development of mobile applications has become the general trend. Front-end development plays an increasingly important role. Flutter has a high idea, but the actual experience of FLUTTER is not particularly friendly. React – Native has grown steadily, but with React’s participation in native development, it’s a bit of a stab in the dark. My favorite is serverless architecture, which is a complete process for building and managing microservices-based architectures that allows you to manage your application deployment at the service deployment level rather than the server deployment level. You can even manage the deployment of specific functions or ports, which allows developers to iterate quickly. Faster software development is expected to shine in the future. With the arrival of 5G era, if the user network environment is no longer the reference dimension of front-end development, whether we have more attempts to sacrifice more performance for the ultimate speed of iteration, or to take the user’s device as the server, the whole application running on the terminal, are all conceivable scenarios.
Front-end technology changes with each passing day, as a small coder, in such an era, as if really into the idea of technology is everything. Choose such a road, might as well fall in love with it, in-depth understanding of it, its mystery may let you obsessed, its philosophy may let you have more understanding of life, and then maybe there are more attempts. As a programmer, development is not only a way to make a living, but also a way to make a living. Think of it as a friend. Think of bug fixing as a friendly conversation with a friend. Another year is coming to an end, those fat friends of Flag who have not finished yet, let’s coding happily!