The Next Generation Template of javascript - lit html (Part 1)

email-templates-header.png <header> <h1>Lorem ipsum dolor sit amet consectetur.</h1> <h2>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Doloremque, fuga!</h2> </header> <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Modi aspernatur sol ...

Posted by shelluk on Mon, 06 May 2019 18:25:39 -0700

Auto-packaging scripts in React Native development

Auto-packaging scripts in React Native development In the daily development of RN A, we have to compile the code we write into an installation package and then generate a two-dimensional code for people who need to test to scan and download.However, for non-native developers, you may not know how to export the ipa and apk installation packages ...

Posted by mguili on Mon, 06 May 2019 12:45:39 -0700

Using Jaeger to Complete Link Tracking between Services

There is no road in the world, and when there are more people to walk, it becomes a road--Lu Xun The topic of this discussion is the need to step out of a "road" between services, so that bug s have a "road" to follow. Why use jaeger... this multi-language solution? Do you follow the opentracing specification? Is it ready-t ...

Posted by rwwd on Mon, 06 May 2019 11:00:39 -0700

Introduction of redux state management framework zoro

I am a long-term user of DVA framework. I like the encapsulation of redux by DVA very much. But I encounter a lot of problems which are not easy to handle in the process of using dva. So I write a set of dva-like libraries by myself and try to solve the shortcomings in the process of using dva. Later, I will introduce the problems ...

Posted by gojakie on Mon, 06 May 2019 03:25:39 -0700

JS Common Regular Expression Memo

Summary: Play with regular expressions. Original: JS Common Regular Expression Memo Author: Front end wit Fundebug Copyright shall be owned by the original author when authorized to reproduce. Below the parts of a regular expression or "regex" used to match strings is my memo for creating regular expressions. Matching Regular Usin ...

Posted by bigfunkychief on Sat, 04 May 2019 21:40:39 -0700

Front-end of koa+mysql+vue+socket.io stack development

The comparison between React and Vue is a hot topic in the front end. Vue scaffolding, as well as the official provision of essential basic components, such as vuex, vue-router, are really friendly to novices; react gives these to the community to do, although this enlarges the ecological chain of react, but novices have a lot of trouble to co ...

Posted by ealderton on Sat, 04 May 2019 15:10:38 -0700

Configure webpack and build a React project from 0

Let's start with react architecture: 1 Official documents also provide direct download of react packages, but modifying the configuration of webpack is troublesome. npx create-react-app my-app cd my-app npm start Modifying the webpack configuration requires execution npm run eject 2. Build a project by yourself and configure webpack - it may ...

Posted by y4m4 on Sat, 04 May 2019 14:20:39 -0700

03 Building React Rapid Development Framework Based on umi

Preface When we are doing business systems, many places are list additions, deletions and modifications. It takes us a long time to do these functions. If we have similar business, it would be great if we could make a set in half an hour.So we can have more time to learn something new. Our framework has been encapsulated below, and suitable par ...

Posted by sandingmachine on Fri, 03 May 2019 11:40:37 -0700

Brief Analysis of webpack Code Splitting

Code Splitting is an important feature of webpack s that allows you to package code to generate multiple bundles.For multi-page applications, it is necessary because multiple entries must be configured to generate multiple bundles; for single-page applications, packaging a bundle alone can be very bulky, making it impossible to take advantage ...

Posted by abhi on Wed, 01 May 2019 08:00:38 -0700

Advanced Guidelines for Reaction

Reference website https://react.docschina.org/docs/jsx-in-depth.html Deep into JSX Essentially, JSX is just a grammatical sugar for React. createElement (component, props,... Children) methods. <MyButton color="blue" shadowSize={2}> Click Me </MyButton> Compile to: React.createElement( MyButton, // Compon ...

Posted by jp2php on Tue, 30 Apr 2019 09:50:38 -0700