Category : Front end

This week’s interview questions list: What is closure? What is the function of closures? Implement Promise.all method What are the ways to load js scripts asynchronously? Please implement a Flattened Deep function to flatten nested arrays What are the characteristics of iterated objects? More quality articles to stamp on: https://github.com/YvetteLau/ … 15. What is closure? ..

Read more

This week’s interview questions list: Implement Promise.race method JSONP Principle and Its Simple Implementation Implementation of an Array De-duplication Method What are the methods of floating? Writing a General currying Function More quality articles to stamp on: https://github.com/YvetteLau/ … 20. implement Promise.race method In realizationPromise.raceBefore the method, we first need to knowPromise.raceThe function and characteristics ..

Read more

This week’s interview questions list: What is the basic idea of prototype chain inheritance? What are the advantages and disadvantages? What is the basic idea of borrowing constructors and combinatorial inheritance? What are the advantages and disadvantages? What is the basic idea of prototype inheritance? What are the advantages and disadvantages? What is the basic ..

Read more

This week’s interview questions list: Stringify Parse Implementing an Observer Mode What are the ways to center an element horizontally and vertically using CSS What are the differences between ES6 module and CommonJS module? More quality articles to stamp on: https://github.com/YvetteLau/ … 31. Achieving aJSON.stringify JSON.stringify([, replacer [, space])The method is to convert a JavaScript ..

Read more

Translation: Liu Xiaoxi Original link:https://devinduct.com/blogpos … What is Proxy Usually, when talking about JavaScript language, we are talking about the new features provided by ES6 standard, and this article is no exception. We will discuss JavaScript proxies and their functions, but before we go into further research, let’s first look at what Proxy is defined. ..

Read more

Translation: Liu Xiaoxi Original link:https://dmitripavlutin.com/7- … The length of the original textVeryLong, but the content is too attractive to me, still can’t help but to translate it. This article is very helpful for writing reusable and maintainable React components. But because of the length is too long, I divided the article, this article focuses onEncapsulation. ..

Read more

Translation: Liu Xiaoxi Original link:https://dmitripavlutin.com/7- … The length of the original textVeryLong, but the content is too attractive to me, still can’t help but to translate it. This article is very helpful for writing reusable and maintainable React components. But because of the length is too long, I divided the article, this article focuses onCombination ..

Read more

Translation: Liu Xiaoxi Original link:https://dmitripavlutin.com/7- … This article focuses on testability and significance. Due to limited level, some translations in this article may not be accurate enough. If you have better ideas, please point them out in the comment area. AlthoughCombination„ÄĀmultiplexingAndPure componentThe reading volume of the three guidelines is not high, but based on the ..

Read more

Translation: Liu Xiaoxi Original link:https://dmitripavlutin.com/ja … Due to limited level, some translations in this article may not be accurate enough. If you have better ideas, please point them out in the comment area. More articles to stamp: https://github.com/YvetteLau/ … Any programming language has functions beyond basic usage, which benefits from successful design and attempts to ..

Read more

After reading this article, you can also implement a redux. The code corresponding to this article is as follows:https://github.com/YvetteLau/ …It is suggested that firstcloneCode, and then read this article against the code. 1.ReduxWhat is it? ReduxYesJavaScriptThe state container provides predictable state management.ReduxIn addition to andReactBesides being used together, other interface libraries are also supported.ReduxThe body ..

Read more