I was led to a conference room by HR and waited quietly for the arrival of the interviewer. The previous hot summer finally made my body feel better, and I took two cups of boiled water freely. I again lamented the uniqueness of Big Factory: even boiled water has special tap water machine, unlike our company only has canned water.

Smiling and charming, the interviewer came in and entered the topic of today’s interview:

A second interview

The first two sides are both technical aspects. Due to my short working experience, the questions are quite common, and most of them will be found in the book, so I will not give the answers:

How to listen for value changes in input when onchange does not work

You can listen for the following events

But not onChange

keypress

keydown

keyup

input

What is event bubbling and event capturing, and what is the difference?

What is cross-domain and how do you handle cross-domain

Cross domain

Protocol, domain name, port, there is one difference, is cross-domain

How to resolve cross-domain

There are two most common solutions:

CORS, set several response headers on the server side

Reverse Proxy: In Reverse Proxy servers such as nginx, Traefik, and HaProxy, the domain name is set to the same

What is throttling and anti-shaking, and how to achieve it

Site performance optimization (there are many articles about this on the web, but pay attention to practice)

Principles of Browser Caching

What does the whole process look like when you enter a URL

What is the React declaration cycle

React setState

What are the differences between function components and normal components in React

What is render Prop’s component (this component has been heard of, but is largely unused)

What is Fiber?

A few details about module subcontracting

Have you ever touched Node? What do you think of Node

What is the process of Node importing a module

What does HTTPS do and how does it work

How does HTTPS ensure that certificates are trusted

Difference between AMD and CMD, CommonJS, ESModule

What is coriolization of a function

What is the Virtual DOM and how is it implemented

What is Dom Diff

Get and POST requests

What is your continuous integration pipeline

What does the Accept header do, and what if the server doesn’t support it

About the technical interview, most belong to the foundation, can find the answer on the network, so the interview foundation must be firm!

On three sides

These are mostly subjective questions:

Why do you want to change your job after only one year? (I was asked in the baidu interview three months ago, why do you want to change your job before you have worked for a year? I think I will not have this problem after a year.

Do you have any challenges?

What do you expect from your future job

For me, the three subjective interviews are more exciting than the technical ones. Maybe because there are fewer interviews, I don’t know where to answer. For subjective questions, before the interview must be fully prepared, in addition to more interviews to overcome nervousness.

For subjective questions, you can refer to the list of subjective questions in shanyue’s technical interview questions to know what to do about the subjective questions.

subsequent

Finally still hang, although Meituan failed, but the final face of millet, summed up the next lesson

Make sure you know your route and leave half an hour before the interview

For subjective interview questions, it is important to be fully prepared before the interview

For technical interview questions, must have a solid foundation, can also look at some interviews

There are want to know more friends can take a look at the https://www.jianshu.com/p/86bb74768d12.