Webpack 4.0 Gets Into Deep

webpack4.0 (1) Installation and use of webpack 1. Introduction webpack is a packaging tool, which handles js files by default, can also handle other types of files with loaders, and can simplify our development process with plug-ins. 2. Configuration environment First install the preparation environment, node, because webpcak is a node-based pa ...

Posted by yumico23 on Tue, 20 Aug 2019 22:07:36 -0700

Some common design patterns of JavaScript

Definition of Design Patterns: Simple and Elegant Solutions for Specific Problems in Object-Oriented Software Design Design patterns are some of the solutions that predecessors summed up to solve a specific scenario. Maybe it's normal to feel that the design pattern is not so well understood when you first get into contact with programming with ...

Posted by antoine on Sun, 18 Aug 2019 23:25:49 -0700

Attempt Link to Implement React Native Application on iOS and Android

Original: https://pantao.parcmg.com/press/react-native-deep-linking-for-ios-android.htmlCode: https://github.com/pantao/react-native-deep-linking-example We live in an age of all things being shared, and the process of sharing will almost eventually share a link. So, as a developer, the most common problem should include how to quickly open App ...

Posted by warik on Sun, 18 Aug 2019 06:10:02 -0700

React+Koa Full Stack Development Handbook

Project function Recently, I was doing a second-hand book trading website, which belongs to the course assignment of B/S architecture, but because of the adoption of a new framework, I am eager to try and record it. The basic functions of a used book trading website are as follows: To achieve user registration and login functions, users need ...

Posted by Avochelm on Wed, 14 Aug 2019 02:12:49 -0700

Virtual Dom Explanation-

In the first article, the basic implementation of virtual DOM is explained. A brief review shows that virtual DOM is a virtual Node tree described by json data, and its real DOM nodes are generated by render function. And add it to its corresponding element container. While creating a real DOM node, register events for it and add some subsidiar ...

Posted by jbachris on Tue, 13 Aug 2019 21:13:57 -0700

Summary of knowledge points of react+dva+umi+ant-mobile

Recently, I took over other people's react project. I haven't done react before, and I haven't learned it. Through these two days'general study, I summarized some small knowledge points. 1. First, dva: You can connect the template layer with the data ...

Posted by peDey on Tue, 13 Aug 2019 05:58:20 -0700

It's time to try React Hook.

Hook Hook is a new feature of React 16.8.0. Hook allows you to use more React features without classes. Hook cannot be used in class components. Rules of Use: Hook can only be called at the outermost level of a function. Do not call in loops, conditional judgements, or subfunctions. Hook can only be invoked in React's function components. Don' ...

Posted by xydra on Sun, 11 Aug 2019 21:14:27 -0700

An MVC program in pure JavaScript

Author: TaniaTranslate: Crazy Technology House Original: https://www.taniarascia.com/j... Reproduction is strictly prohibited without permission I want to use model-view-controller Schema mode writes a simple program in pure JavaScript, so I do it.Hopefully it will help you understand MVC, because it is a difficult concept to understand when y ...

Posted by magi on Wed, 07 Aug 2019 21:21:05 -0700

Virtual Dom Details-

With the advent of Vue and React and the growth of many frameworks, virtual DOM has gradually become a topic we often discuss and discuss.What is virtual DOM, how virtual DOM is rendered, what is the difference between virtual Dom of Vue and virtual DOM of React, etc.... A series of topics are under discussion.For this reason, I also made some ...

Posted by lkq on Tue, 06 Aug 2019 11:07:28 -0700

react introductory knowledge point combing, life cycle explanation

react Foundation JSX JSX is a JavaScript grammar extension that can well describe the essential form of interaction that UI should present. React DOM escapes by default before rendering all input content. It ensures that your application will never inject content that is not explicitly written by you. All content is converted into strings befo ...

Posted by raymie on Tue, 06 Aug 2019 02:56:10 -0700