One on the phone, the other in person. The process is gradual and there are no hard questions at the beginning (other than direct source/rationale)

It is known that 90% of ali Health’s front-end technology stack is React, but my resume is mostly about VUE technology stack and small programs, so it rarely involves react related parts. Here are some interview questions

Vue

  1. Vue template to render steps
  2. What are the defects of Object.defineProperty and why is Vue3 refactoring using proxy
  3. Change the value of a variable bound to data. Does the page update immediately? Why
  4. The implementation principle of VUEX
  5. Implementation principle of vue-Router

Describes in detail the entire process from entering a URL address in the browser to rendering the page

  1. What are the parameters of HTTP req, what are they used for, and what does the server do when it receives these parameters
  2. What are the res headers?
  3. How to cache, explain the HTTP caching mechanism, what is strong cache/negotiated cache, what is their priority
  4. When does the browser return 204/304/301/500 status codes
  5. What’s new with HTTP2
  6. Differences between http2 multiplexing and http1 keep-alive
  7. Spdy is different from HTTP2
  8. How do JS loads not block dom
  9. How does HTML, CSS, JS get parsed
  10. Some loading details

PWA

  1. What are the advantages of PWA and what features do you like best
  2. The Service Worker characteristics
  3. How to optimize Service workers
  4. How is the Service Worker updated

css

  1. CSS implements a fixed width on the left and adaptive layout on the right, naming all the ways you know
  2. Vertical centralization of several ways, respectively used in what scene
  3. Which attributes enable GPU acceleration

CSS problem is not much, probably after a while

Talk about the project

  1. Why do YOU choose VUE technology stack for JQ refactoring? How do you consider the technology selection

    The answer is from the progressive, low invasion, convenient to do similar micro front-end consideration

  2. How to understand the microfront-end, what are the usage scenarios, and what problems are solved
  3. How does Webpack optimize packaging speed and projects
  4. Talked about the team doing codereView, and then asked CodereView what you would focus on
  5. I introduced the concept of side effects when I talked about CodereView, and then I started talking about functions

functional

  1. Advantages and disadvantages of functional
  2. What is a pure function/side effect
  3. The effect of cremation
  4. Currization and closure
  5. Memoize (or memorize?) What business scenarios can be used
  6. What do you mean by compose
  7. Compose (redux’s compose implementation)
  8. Compose internal error returns error
  9. What is a functor
  10. Front-end and server interaction, Ajax must have side effects, how to deal with
  11. What is monad
  12. I don’t know much about functions.

Small program

  1. Small programs with taro compared to native benefits
  2. Why do you use taro
  3. Async -> how to use async in applets native
  4. How to implement async in generator+ CO form
  5. The difference and connection between generator and promise
  6. How does generator implement asynchronous operation (I understand that generator has nothing to do with asynchrony)
  7. Why is applets a two-threaded architecture, and what does he think about it
  8. Applets render layer is webView, so how do native components render to the page
  9. Why design native components, and what are the benefits over pure JavaScript
  10. Communication principle between applets and clients (JSBridge Solution)

Interview questions that are not related to the business/resume

  1. Design a scan code login process (front end), including how to interact with the back end, interface design. It can be described in UML or any other way you’re good at
  2. Evaluate a four operation without using the eval function. For example: “2 + 3 * 1 4/6”

Most of the rest of the time is spent talking about business and personal development and career expectations

After the