当前位置:网站首页>[Yan Xuan], real problem analysis

[Yan Xuan], real problem analysis

2022-06-10 11:56:00 InfoQ

Preface

SharedPreferences It's a lightweight storage solution from Google , Easy to use , It can store data directly , There is no need to start another thread, but it also brings a lot of problems , Especially by SP Caused by the ANR problem , Very common . Because of this , And then there were some SP Alternative solutions for , such as MMKV

This article mainly includes the following contents 1.SharedPreferences The problem is 2.MMKV The basic use and introduction of 3.MMKV Principle

HTML Interview questions

1.H5 What are the new features of 2.Label What is the role of ? How does it work ?3.HTML5 Of form How to turn off autocomplete 4.dom How to realize the communication between multiple tabs in the browser ?5. Implementation does not use  border  Draw 1px High line , In different browser standard mode and weird mode can keep the same effect 6.title And h1 The difference between 、b And strong The difference between 、i And em The difference between ?7. Which browsers have your page been tested on ? What are the cores of these browsers ?8. Every HTML There is a very important thing at the beginning of the document ,Doctype, Do you know what this is for ?9.div+css Layout of table What are the advantages of layout 10.img Of alt And title What are the similarities and differences? ? strong And em Similarities and differences 11. Briefly src And href The difference between 12. What are the picture formats that you know about web page production 13. stay css/js After the code goes online, developers often optimize performance , Start with the user refreshing the page , once js In general, where do requests have cache processing 14. There are a lot of pictures on one page ( Large e-commerce website ), Slow load , How can you optimize the loading of these images , Give users a better experience 15. How do you understand HTML Semantics of structure 16. Talk about the previous point of view to do a good job SEO What needs to be considered 17.17.html5 What's new 、 Removed those elements ...

null

CSS Interview questions

1. The box model 2. How to achieve a largest square 3. A line is centered horizontally , To the left 4. Horizontal vertical center 5. Two column layout , Fixed on the left , Right adaptive , Left and right do not overlap 6. How to realize left and right equal height layout 7. Draw a triangle 8.link @import Import css9.BFC understand ...

null

JavaScript Interview questions

1. Judge  js  Type of way 2.ES5  and  ES6  Declare variables in several ways 3. The concept of closures ? Advantages and disadvantages ?4. Shallow copy and deep copy 5. Array de duplication method 6.DOM  What are the stages of the event ? Talk about the understanding of event agent 7.js  Execution mechanism 、 The event loop 8. introduce  promise.all9.async  and  await10.ES6  Of  class  The difference with constructors 11.transform、translate、transition  What are the attributes of each ?CSS  Commonly used in the implementation of animation 12. Introduce to you rAF(requestAnimationFrame)...

null

Javascript High frequency handwritten code question

1. Realization  new 
《 Analysis of front-end interview questions in large factories +Web Core summary learning notes + Enterprise project actual combat source code + HD explanation of the latest video 》 Free open source Hui Xin search official account 【 Advanced programming 】
  Method 2. Realization  Promise3. Achieve one  call  function 4. Achieve one  apply  function 5. Achieve one  bind  function 6. Shallow copy 、 The implementation of deep copy 7. Implement a throttling function ...

null
1.Vue  Two way binding principle 2. Describe below  vue  From initialization page -- Modifying data -- Refresh the page  UI  The process of ?3. How do you understand  Vue  In response to the system of ?4. fictitious  DOM  Realization principle 5. since  Vue  Data hijacking can accurately detect data changes , Why do we need to be virtual  DOM  Conduct  diff  Detect differences ?6.Vue  in  key  The role of value ?7.Vue  Life cycle of 8.Vue  What are the ways of communication between components ?9.watch、methods  and  computed  The difference between ?10.vue  How to reset  data?11. Component  name  What's the use of options ?12.vue-router  What hook functions are there ?13.route  and  router  What's the difference ?14. The way  Vue  and  React  The understanding of , Make a simple comparison 15.Vue  Of  nextTick  What is the principle of ?16.Vuex  What are the attributes ?17.vue  First screen loading optimization 18.Vue 3.0  Have you ever understood ?19.vue-cli  What did you do for us ?...

null

HTTP、 Browser interview questions

1. What are the ways that browsers store 2. Can we talk about the front and back cross domain ? How to solve cross domain ?3. browser  cookie  and  session  The understanding of .4. Input URL What happened? ?5. Browser rendering steps 6. Page rendering optimization 7. Force cache and negotiate cache 8.GET  and  POST  Differences in requests 9.HTTP1.0 / 1.1 / 2.0  And HTTPS10. introduce 304 The process 11.HTTP  Status code 12.Web performance optimization ...

null

Data structures and algorithms

One . Linked list
1. Simple reverse linked list 2. Interval reversal 3. Flip the linked list in groups of two 4.K A set of flip list 5. How to detect link formation in linked list ?6. How to find the starting point of the ring ...
Two . Stacks and queues
1. Valid brackets 2. Multidimensional arrays  flatten3. Ordinary level traversal 4. Zigzag level traversal of binary trees 5. Right side view of binary tree 6. Complete square ...
3、 ... and . Binary tree
1. The former sequence traversal 2. In the sequence traversal 3. After the sequence traversal 4. Maximum depth 5. Minimum depth 6. Symmetric binary tree ...

null

At the end of the article

Go against the current and you will go back if you don't advance , So we should have a sense of crisis .

The same is done 35 year , Ordinary people write business code and paddle , Role models study deeply, broaden their horizons and promote management .

That's why everyone says 35 Age is the threshold for programmers , A lot of people can't get through , In fact, all walks of life are like this, there will be a barrier , The company will always lack senior talents , Only in this way can we , Still shining, not eliminated by the company, not eliminated by the society .

In order to help you better review the key knowledge 、 More efficient preparation for interview , Special arrangement of 《 Front end engineer core knowledge notes 》 Electronic document .

The content includes html,css,JavaScript,ES6, computer network , browser , engineering , modularization ,Node.js, frame , data structure , performance optimization , Projects, etc .

269 page 《 Front end big factory interview classic 》

Including Tencent 、 Bytes to beat 、 millet 、 Ali 、 sound of dripping water 、 Meituan 、58、 A lot of spelling 、360、 Sina 、 Sohu and other first-line Internet companies were asked questions in the interview , Covers the beginning of intermediate front-end technology .

[ Open source sharing :【 Analysis of front-end interview questions in large factories + Core summary learning notes + Real project practice + The latest explanation video 】](()

null
Summary of front-end interview questions

null
原网站

版权声明
本文为[InfoQ]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/161/202206101151161337.html