The Embedded Two-Dimensional Code and Custom Style in Reaction Page and the unionId Problem in Wechat Page

Embedded in the react page is the "two-dimensional code of micro-message", which enables PC to log in through micro-message scanning code. First go Wechat Open Platform Register an account, create a website application, submit a website for review, get appid and appsecret; other development processes are based on Wechat Document Do th ...

Posted by XzorZ on Sun, 08 Sep 2019 10:45:47 +0200

Cesium Intermediate Course 8 - Introduction to Particle Systems

What is a particle system? What is a particle system? Particle system is a graphical technology that can simulate complex physical effects. Particle systems are a collection of small images that, when viewed together, form a more complex "blurred" object, such as fire, smoke, weather or fireworks. fireworkds . These complex effects ...

Posted by robche on Thu, 05 Sep 2019 08:34:06 +0200

Monorepo 15 minutes to experience lerna

hello! hello, everyone, I am a front-end development, committed to sharing technology with you in the simplest and straightforward way of introduction, looking forward to common progress of good young people, ha ha ha In this article, I will elaborate the following points according to my own project experience: Why use lerna for project manag ...

Posted by MikeSnead on Fri, 30 Aug 2019 10:13:13 +0200

Reaction Learning Path (2.2) - - Data Transfer (props (descendant parent), context)

Links to the original text: https://blog.csdn.net/qq_30101879/article/details/78448479 Reaction learning path, data transfer (props,context); Before we talk about the props sub-parent, we first learn about context, a very NB data receiv ...

Posted by louis567 on Fri, 30 Aug 2019 07:28:33 +0200

[20] Front-end internship: react official document learning (Advanced Guide: React refs and pop-up windows / MyErrorBoundary /suspense / Context)

React refs and pop-up windows import React, {Component} from 'react'; import ReactDOM from 'react-dom'; import './index.css'; import App from './App'; import * as serviceWorker from './serviceWorker'; class OuterClickExample extends React.Comp ...

Posted by massimoGornatti on Wed, 28 Aug 2019 12:42:31 +0200

Dear, Loved ~~Practice Speed Software

Dear, Loved ~~Practice Speed Software Author: Call for fry Source: WeChat gzh: A small home with pain, itching and itching The CTF competition not only tests the professional background of the players, but also their reaction speed.* In o ...

Posted by adrianuk29 on Tue, 27 Aug 2019 03:25:52 +0200

Integration of React and Typescript

 0. Typescript Typescript is becoming more and more important for the front end, and many projects in the front end are refactored with Typescript. This is mainly due to the better type support of Typescript, which can do some type inference well in the coding process (mainly because the editor will have code prompts, it is very comfortable) ...

Posted by csatucd on Sun, 18 Aug 2019 12:03:18 +0200

Asynchronous Request Callback Nested Solution

Preface In front-end asynchronous requests, the traditional way to get data is to write ajax callbacks, but this wayThis is not conducive to the maintenance and readability of code, so the Generator and Proise solved this problem in the es6 era, and es7 made it more concise through async and await. Replace callback nesting with Generator Genera ...

Posted by ltoto on Fri, 09 Aug 2019 09:06:31 +0200

React Learning Notebook Conditions Rendering and List Rendering

I. Conditional Rendering 1. Conditional Rendering In React, we can encapsulate different behaviors by creating different components, and then render parts of the corresponding state according to the state of the application. // Define component encapsulation login behavior class SignIn extends React.Component { constructor(props) { ...

Posted by jesse24 on Wed, 07 Aug 2019 06:51:59 +0200

Web Pack 4 Learning Path-7-Optimizing Operations

Before that, my main note was to explain the operation of webpack. Next, I will mainly record the optimization of webpack. noParse When we introduce a command such as JQimport jquery from jquery into index.js file to parse this sentence, we will enter the JQ file by default and continue parsing to see ...

Posted by paulsiew2 on Sun, 04 Aug 2019 09:12:38 +0200