search
HomeWeb Front-endFront-end Q&ADo you know what the development trend of the big front-end will be in 2021 (detailed explanation)

Do you know what the development trend of the big front-end will be in 2021 (detailed explanation)

The rapid development of front-end development brings new keywords to developers every year. What will be the keywords for front-end development in 2021? What will be the direction of development? Referring to the development of the big front-end in 2019, it is no surprise that the front-end will still focus on several aspects such as small programs, super APPs, cross-end development, front-end engineering and the application of new technologies (you can refer to the depth of big front-end technology trends in 2019 interpretation).

小program

In the development of small programs, this year is still a year of rapid development for small programs. All major mainstream apps have launched small program functions, and various front-end The team also has a dedicated mini program development team to adapt to faster mini program development needs. At the same time, many key functions in Apps have been replaced by mini programs. Some apps have even become Native mini program shells, and the upper layers should all be mini programs.

Before the emergence of WeChat mini programs, everyone was talking about Hybird and ReactNative, but in the end it was just a carnival on the technical level, and there was never the injection of business attributes. The emergence of mini programs not only tells the industry that Webview on current devices is not that bad, but also tells the industry how to enable capable merchants to conduct private domain operations on super APPs.

On the other hand, from a technical perspective, under the strict restrictions of the upper-layer DSL, super APP can define Web standards that meet its own demands, make up for the shortcomings of current Web standards, and finally cooperate with the client and combine offline , preloading, and customizing Webview can produce various cool technical models similar to NSR, allowing the Web to achieve the Native version experience at low cost on the end, without being a little awkward like Weex outside the end.

However, due to the need to rely on super APPs (WeChat, Alipay, Baidu, Meituan, Toutiao, etc.), due to differences in the specific plans adopted by each platform, the current implementation plans of mini programs are also different. Sometimes Multiple sets of code need to be developed.

Cross-end development

Cross-end development, the RN state is very mature, or there is not much development prospect, because it is still stuck in version 0.61, it seems Version 1.0 is still far away. Therefore, many teams have switched to Flutter this year, especially the Release of Flutter for Web, which has rekindled hope and made the Web front-end eager to try.

At the same time, Apple has also released a new UI system-SwiftUI. At the same time, SwiftUI for Web is already on the road in the open source community. Can SwiftUI for Android be far behind?

Cross-end development, Flutter will still develop rapidly, and there will be more developers. Flutter on JS, SwiftUI for Web&Android will also be open source and worth looking forward to. After all, there is still no perfect solution for cross-end Plan.

Front-end engineering

In front-end engineering, the most important basic quality for developers is to improve efficiency through tools, and front-end developers will continue to do this. Iterate and optimize.

We used to talk about Yoman and a series of construction tools such as CLI, but after the team grew, we always felt that something was missing. On the other hand, Java students have never heard of Spring Boot configuration engineers.

This year many teams are building complete front-end DevOps process tools, and these teams have also begun to collaborate and build, whether it is Web or small programs, from new projects, development, joint debugging (tiao), deployment , testing, publishing, operation and maintenance to monitoring statistics, there are complete tools to ensure and improve efficiency. In the future, front-end projects will become more and more standardized.

Looking forward to the development of the front-end in 2020, the front-end engineering system will definitely be more closed-loop. It is no longer as simple as a scaffolding, but will be combined with IDE to open up business attributes, from project initialization, to writing code, to CI, To grayscale and to release form a complete closed loop.

Serverless

The popularity of Serverless can almost be attributed to the front end. Because Serverless can perfectly support Node.js, Serverless helps front-end developers solve many problems in the process of using Node.js.

Most of the current front-end engineers have a professional background. Although they cannot be compared with authentic server-side development students, they can also write a lot of business logic at the server-side layer. Currently, many companies are building BFF layers to meet these demands, but they still cannot get rid of the obstacles of operation and maintenance and machine allocation.

With the gradual implementation of Serverless, the code at the BFF layer will get rid of complex problems such as operation and maintenance, machine allocation, etc. At the same time, there is a high probability that front-end students will write this part of the code, and server-side students will focus on the middle-end system. accomplish. From a business perspective, the trial and error costs of business will also be significantly reduced.

As Node.js becomes an essential skill for front-end developers, the continued popularity of cloud computing will make Serverless within reach. When more and more developers taste the benefits of R&D, Serverless will definitely change the front-end R&D model.

At the same time, students who use Serverless will definitely use TS. This also means that if you don’t write TS in 2020, you may really be out.

WebAssembly

WebAssembly is a new bytecode format, and currently all mainstream browsers support WebAssembly. Unlike JS, which requires interpretation and execution, WebAssembly bytecode is very similar to the underlying machine code and can be quickly loaded and run. Therefore, the performance is greatly improved compared to JS interpretation and execution.

In other words, WebAssembly is not a programming language, but a bytecode standard. It requires a high-level programming language to compile the bytecode and put it into the WebAssembly virtual machine to run. What browser manufacturers need to do It is to implement a virtual machine according to the WebAssembly specification.

With WebAssembly, any language can be run on the browser. From Coffee to TypeScript to Babel, these all need to be translated into js before they can be executed, while WebAssembly embeds a vm in the browser and executes it directly without the need for translation, so the execution efficiency is naturally much higher.

For example, AutoCAD software is an automatic computer-aided design software produced by the American Autodesk Co., Ltd. (Autodesk), which can be used for two-dimensional drawing and basic three-dimensional design. When using it, you don't need to know programming to automatically draw. Therefore, it is widely used in many fields such as civil construction, decoration, industrial drawing, engineering drawing, electronic industry, and clothing processing around the world.

AutoCAD is a software written with a large amount of C code and has experienced many technological changes, from desktop to mobile to web. Previously, there was a speech at InfoQ titled "AutoCAD & WebAssembly: Moving a 30 Year Code Base to the Web". Through WebAssembly, many old C codes can be run on the Web and execution efficiency is guaranteed.

WebAssembly’s core JavaScript engine V8 now includes Liftoff, a new WebAssembly baseline compiler. Liftoff's simple and fast code generator greatly speeds up the launch of WebAssembly applications. In 2019, many companies began to invest manpower in learning and transforming WebAssembly. I believe that WebAssembly will experience an explosive period in 2020.

5G

An unavoidable topic in 2019 is 5G. First of all, the substantial increase in 5G bandwidth has brought about a further increase in the complexity of the traditional Web, just like the change from the plain text hyperlink era of WAP to the 4G full-image video era during the change from 2G to 4G. 5G will be a huge change, but it will certainly not happen overnight. Because the corresponding supporting facilities also need to be gradually improved, such as hardware performance and browser processing speed.

Server-side rendering (SSR) is definitely a shortcut, focusing on front-end and back-end. 5G is a bridge. Putting rendering in the back-end is not as simple as isomorphism. It requires attention and optimization of rendering performance. WebAssembly may develop rapidly under this opportunity, because it can seamlessly connect multiple background languages, and the optimization of background rendering will also bring about changes in the front-end R&D model and technical architecture.

Secondly, the interconnection of everything brought by 5G will bring diversified application scenarios that are different from smartphones and ordinary PCs, such as VR, wearable devices, car systems, smart projection, smart interaction, etc. They will bring the Web into various vertical fields, which also means that there will be more open space on the front end. I believe that with the large-scale commercialization of 5G, a number of new Internet giants will be born.

Thank you everyone for reading, I hope you will benefit a lot

This article is reproduced from: https://xiangzhihong.blog.csdn.net/article/details/103233487

More related For knowledge, please visit PHP中文网! !

The above is the detailed content of Do you know what the development trend of the big front-end will be in 2021 (detailed explanation). For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:CSDN. If there is any infringement, please contact admin@php.cn delete
React: The Power of a JavaScript Library for Web DevelopmentReact: The Power of a JavaScript Library for Web DevelopmentApr 18, 2025 am 12:25 AM

React is a JavaScript library developed by Meta for building user interfaces, with its core being component development and virtual DOM technology. 1. Component and state management: React manages state through components (functions or classes) and Hooks (such as useState), improving code reusability and maintenance. 2. Virtual DOM and performance optimization: Through virtual DOM, React efficiently updates the real DOM to improve performance. 3. Life cycle and Hooks: Hooks (such as useEffect) allow function components to manage life cycles and perform side-effect operations. 4. Usage example: From basic HelloWorld components to advanced global state management (useContext and

React's Ecosystem: Libraries, Tools, and Best PracticesReact's Ecosystem: Libraries, Tools, and Best PracticesApr 18, 2025 am 12:23 AM

The React ecosystem includes state management libraries (such as Redux), routing libraries (such as ReactRouter), UI component libraries (such as Material-UI), testing tools (such as Jest), and building tools (such as Webpack). These tools work together to help developers develop and maintain applications efficiently, improve code quality and development efficiency.

React and Frontend Development: A Comprehensive OverviewReact and Frontend Development: A Comprehensive OverviewApr 18, 2025 am 12:23 AM

React is a JavaScript library developed by Facebook for building user interfaces. 1. It adopts componentized and virtual DOM technology to improve the efficiency and performance of UI development. 2. The core concepts of React include componentization, state management (such as useState and useEffect) and the working principle of virtual DOM. 3. In practical applications, React supports from basic component rendering to advanced asynchronous data processing. 4. Common errors such as forgetting to add key attributes or incorrect status updates can be debugged through ReactDevTools and logs. 5. Performance optimization and best practices include using React.memo, code segmentation and keeping code readable and maintaining dependability

The Power of React in HTML: Modern Web DevelopmentThe Power of React in HTML: Modern Web DevelopmentApr 18, 2025 am 12:22 AM

The application of React in HTML improves the efficiency and flexibility of web development through componentization and virtual DOM. 1) React componentization idea breaks down the UI into reusable units to simplify management. 2) Virtual DOM optimization performance, minimize DOM operations through diffing algorithm. 3) JSX syntax allows writing HTML in JavaScript to improve development efficiency. 4) Use the useState hook to manage state and realize dynamic content updates. 5) Optimization strategies include using React.memo and useCallback to reduce unnecessary rendering.

Understanding React's Primary Function: The Frontend PerspectiveUnderstanding React's Primary Function: The Frontend PerspectiveApr 18, 2025 am 12:15 AM

React's main functions include componentized thinking, state management and virtual DOM. 1) The idea of ​​componentization allows splitting the UI into reusable parts to improve code readability and maintainability. 2) State management manages dynamic data through state and props, and changes trigger UI updates. 3) Virtual DOM optimization performance, update the UI through the calculation of the minimum operation of DOM replica in memory.

Frontend Development with React: Advantages and TechniquesFrontend Development with React: Advantages and TechniquesApr 17, 2025 am 12:25 AM

The advantages of React are its flexibility and efficiency, which are reflected in: 1) Component-based design improves code reusability; 2) Virtual DOM technology optimizes performance, especially when handling large amounts of data updates; 3) The rich ecosystem provides a large number of third-party libraries and tools. By understanding how React works and uses examples, you can master its core concepts and best practices to build an efficient, maintainable user interface.

React vs. Other Frameworks: Comparing and Contrasting OptionsReact vs. Other Frameworks: Comparing and Contrasting OptionsApr 17, 2025 am 12:23 AM

React is a JavaScript library for building user interfaces, suitable for large and complex applications. 1. The core of React is componentization and virtual DOM, which improves UI rendering performance. 2. Compared with Vue, React is more flexible but has a steep learning curve, which is suitable for large projects. 3. Compared with Angular, React is lighter, dependent on the community ecology, and suitable for projects that require flexibility.

Demystifying React in HTML: How It All WorksDemystifying React in HTML: How It All WorksApr 17, 2025 am 12:21 AM

React operates in HTML via virtual DOM. 1) React uses JSX syntax to write HTML-like structures. 2) Virtual DOM management UI update, efficient rendering through Diffing algorithm. 3) Use ReactDOM.render() to render the component to the real DOM. 4) Optimization and best practices include using React.memo and component splitting to improve performance and maintainability.

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
Will R.E.P.O. Have Crossplay?
1 months agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools