Canvas Hand-in-Hand Teaches You How to Draw a Sporting Car

Author: Chief Filling Officer Southern Jiangsu Source: @ IT Pingtou Coalition Exchange: 912594095, public number: honey Badger8; this article is original, the copyright belongs to the author, reproduced please indicate the original link and source. Preface The inspiration comes from finding money the other day, thinking that it's time to ...

Posted by compguru910 on Tue, 14 May 2019 23:43:16 -0700

Core concepts of webpack-dev-server

Core concepts of webpack-dev-server ContentBase vs publicPath vs output.path of Web pack webpack-dev-server uses the current path as the requested resource path (so-called Current Path This is the path to run the command webpack-dev-server, if the webpack-dev-server is wrapped, for example wcf The current path refers to the path to run the ...

Posted by john_bboy7 on Tue, 14 May 2019 05:04:11 -0700

vue router state management

BUS bus.js import Vue from 'vue' const Bus = new Vue() export default Bus export default { methods: { handleClick () { this.$bus.$emit('on-click', 'hello') } } } export default { data () { return { message: '' } }, mounted () { this.$bus.$on('on-click', mes => { this.mess ...

Posted by law on Sat, 11 May 2019 07:13:56 -0700

React V16.3, the life cycle to be changed

Note: This article is translated from React's official blog (article address: Update on Async Rendering) Mainly describes the update direction after React, and summarizes the problems arising from the previous life cycle. Later React will gradually abandon some life cycles and increase some more practical and more realistic li ...

Posted by Kath_php_? on Sat, 11 May 2019 06:23:11 -0700

On-demand loading of spa based on vue and react

On-demand loading of spa based on vue and react Since we are planning to use the same login method for all the management systems recently, and then switch the system after login, we don't need every system to re-login once, so the front-end side is thinking about building all the systems with a set of spa applications, but after t ...

Posted by MDanz on Fri, 10 May 2019 05:18:41 -0700

react npm plug-in recommendation

react npm plug-in recommendation This article is based on the application of bloggers in peacetime. react plug-inFor a brief introduction, if you have better technical exchanges, you can contact via email: regan_jeff@163.com. Music Player( aplayer) As its introduction, "Wow, such a beautiful HTML5 music player ***", such a beautiful ...

Posted by Democreous on Thu, 09 May 2019 14:02:39 -0700

React Render Props in TypeScript

Original Link: https://medium.com/@jrwebdev/... As with previous articles, this article also requires you to have some background in render props, if not Official Documents It may be of great help to you.This article will use functions as render props mode for children and context API combined with React as examples.If you want to use render p ...

Posted by echo10 on Wed, 08 May 2019 23:54:38 -0700

Introduction to React Hooks: Foundation

Preface First of all, you are welcome to pay attention to me. Github blog It's also a little encouragement for me. After all, writing can't be realized. It depends on your enthusiasm and encouragement to stick to it. I hope you pay more attention to it. React 16.8 has added Hooks features, and React official documents have added Hooks module to ...

Posted by willeh_ on Wed, 08 May 2019 16:45:39 -0700

Quick Start to React.js

This article will provide you with a very simple application to understand the basics of React.js. start First we need to prepare a basic template. An HTML file containing React and ReactDOM libraries is as follows: <html> <head> <script src="https://unpkg.com/react@15/dist/react.min.js"> </script><script ...

Posted by cosmo7 on Wed, 08 May 2019 12:12:40 -0700

Develop your own react-native component and publish it to npm

Write before When doing react-native development, we often find some third-party components that are easy to install and use by npm install.Have you ever thought about how we should develop and publish a component ourselves while using it?Whether it's sharing multiple projects for yourself or using open source for others, it's ...

Posted by littleelmo on Tue, 07 May 2019 17:10:40 -0700