Summary of interview questions in 2021

Gold 3 Silver 4, Gold 9 Silver 10. These few months of the year can be the job-hopping season for most programmers. This year's interview has just begun. I took 2 days to participate in several interviews, which can be said to be quite rewarding. In fact, interviews are not only a way to find jobs, but also a guide for us to understand other companies' front-end development direction. I am more skilled, so I can't provide interviews with some powerful companies.
    Since I didn't come out for interviews, this interview found that many companies have product lines with large screen displays. Need to learn more, learn more.

Interview questions sharing

VIEW

1) Vue instructions and how to customize instructions How to customize instructions in
vue
2)
Detailed vue life cycle
recommendations for vue life cycle see the
official website 3) Vue modifiers (special attention: .sync,.exact)
in
-depth understanding of commonly used modifiers in vue vue .sync modifier
.exact modifier
4)
Vue component pass value Five ways to pass parameters of Vue component
5) Vue calculated attribute and watch difference
calculated calculated attribute is used to declaratively describe a value depends on other values. When you bind data to a calculated property in a template, Vue will update the DOM when any value it depends on causes the calculated property to change. This feature is very powerful, it can make your code more declarative, data-driven and easy to maintain.
Watch monitors the variables you define, and when the value of the variable you define changes, the corresponding method is called.
Some simple understandings (differences) between computed and watch in
vue 6) The role of key in vue, the priority of v-for and v-if, why can't v-for and v-if be used at the same time
as the role of key in
Vue Is v-if and v-for not recommended to be used together?
7) Reference of static file path Reference of
static file path (configuration file path vue.config.js)
8) Two-way binding principle of
vue Two-way binding principle of vue and achieve
9) Object.defineProperty and proxy difference
The difference between Object.defineProperty and proxy

View-Router

1) The difference between router and route in
vue The difference between router and route in vue
2) Is
it not fragrant on the official website of vue-router hook function ?
3) The difference between the hash and history modes of
vue-router The hash and history in vue-router The difference between modes
4) What is hash #?
Anchor

Vuex

1) Vuex common interview
vuex common interview
2) The data will disappear when Vuex is refreshed, how to solve it? Why do I need to use Vuex
when Vuex refreshes the data will disappear, then how to solve it? Why use Vuex

keep-alive

1) Keep-alive realization principle
Keep-alive realization principle

Vue actived

Still look at the official website

ES6

1) ES6 new primitive type data:
symbol
2) ES6 map and set difference
Map and Set
3) ES6 new features
ES6 new features
4) the role of ES6 arrow function
arrow function
5) the difference between let and const in ES6

js

1) Array operation method
Array operation method
2) The difference between
slice and
split The difference between slice and split 3) The difference between split() and join() The difference between
split() and join()
4) The difference between forEach and map? Can the map be interrupted?
js forEach and map area
5) Deduplication
JavaScript array deduplication (12 methods, the most complete in history)
6) Call apply bind difference
call apply bind difference and usage
7) Prototype and prototype chain
Prototype and prototype chain
8) New operator What did the
new operator do?
9) The difference between
throttling and anti-shake, and how to achieve the difference between throttling and anti-shake, and how to achieve

HTML+CSS

1) Vertical centering, horizontal centering, vertical horizontal centering methods
CSS horizontal centering + vertical centering + horizontal/vertical centering methods summarize
10 horizontal and vertical centering alignment methods (the most complete in history)
2) the understanding and function of the
label mate label
3) rem The difference between
rem and em

even run

1) Deeply understand the event loop
in javascript event-loop Deeply understand the event-loop in javascript
2)
What are processes and threads?
3)
Macro tasks and micro tasks What are macro tasks and micro tasks?

Browser

1) Explanation and difference of cookies, session, sessionStorage and localStorage. Explanation and difference of
cookies, session, sessionStorage and localStorage.
2) What is cross-domain and how to solve
common cross-domain solutions for cross-domain front - end (full)
3) jsonp implementation principle
jsonp cross-domain Principle analysis
4) What is a second-level domain name For
example, www.baidu.com is the second-level domain name of baidu.com

git and svn

1) The advantages
and disadvantages of
git and svn The difference between GIT and SVN and the advantages and disadvantages 2) The difference between git and svn The difference between
Git and SVN (Interview Frequently Asked Questions)
3) The difference between git rebase and git merge The difference between
git rebase and git merge

webpack

…To be continued

Guess you like

Origin blog.csdn.net/lbchenxy/article/details/114433753