Tag:Front end design

  • Using shadow DOM in react


    1. What is shadow DOM What is shadow DOM? Let’s first open Chrome’s devtool and tick ‘show user agent shadow DOM’ in ‘settings – > Preferences – > elements’. Then, open a video website that supports HTML5 playback. For example, YouTube: You can seevideoThere is a#shadow-rootUnder shadowrootdivCommon HTML tags like this. We can knowvideoThere will […]

  • Application of machine learning in traffic sign detection and fine classification


    Guide reading Data is very important for map. Without data, there is no map service. When users use map services, they are less likely to think that data is like an iceberg. User visibility is only the most direct and explicit product function part, and the foundation needed to support the explicit part is often […]

  • How do front-end engineers cope with the Serverless storm?


    Ali Mei’s Guide Reading:Although most front-end jobs do not involve servers, the term serverless and the heated discussions it has sparked in the past six months have deeply touched Alibaba’s senior front-end technical experts’salary cuts. As an old development that has been in contact with the front-end for more than ten years, salary cuts believe […]

  • Front-end Architecture in Post-MVC Era


    Many people feel that the main difference between front and back ends is that they carry data and style, function and skin respectively. The front end is visual and the back end is substantive. Back many years ago, it is true that the so-called front-end is just because the View in the back-end MVC is […]

  • MVC


    My blog address MVC The story of Captain, reprinted please indicate the source. MVC modeModel-View-Controller is a software architecture model in software engineering, which divides software system into three basic parts:Model、ViewandController。 MVC modeThe goal is to achieve oneDynamic ProgrammingMakeSubsequent modifications and extensions of programsAnd make it part of the programReuseIt’s possible. In addition, this model […]

  • Automatic Execution of Generator in ES6 Series


    Single asynchronous task var fetch = require(‘node-fetch’); function* gen(){ var url = ‘https://api.github.com/users/github’; var result = yield fetch(url); console.log(result.bio); } In order to achieve the final implementation results, you need to do this: var g = gen(); var result = g.next(); result.value.then(function(data){ return data.json(); }).then(function(data){ g.next(data); }); First, the Generator function is executed to get […]