Embrace react hooks

Ugly talk ahead It is strongly recommended to brush at least once Official documents , repeated study <Hooks FAQ>Here I mainly focus on the aggregation, convenient to understand for practice I. what should react hooks solve? The following are the shortcomings of the previous generation of standard writing class components, which is exactl ...

Posted on Fri, 08 Nov 2019 02:09:36 -0800 by PhilippeDJ

Java xinge message push Android and IOs

xinge message push: for example, like Taobao, when the user finishes placing an order, he will be prompted with a message: order check, etc. What if we want to implement similar functions? I. import package into pom.xml file <dependency> <groupId>com.github.xingePush</groupId> <artifactId> ...

Posted on Sat, 02 Nov 2019 14:39:54 -0700 by Millar

Java's new project learning online notes-day15

3 online learning interface 3.1 requirement analysis According to the business process below, this chapter completes the front-end learning page to request the learning service to obtain the course video address, and automatically plays the video.3.2 build development environment 3.2.1 create database Create XC ﹣ learning database, which will ...

Posted on Fri, 01 Nov 2019 11:34:43 -0700 by webpoet

Spring Cloud Alibaba uses nacos registry

background In the last article, we talked about how to build a registry. This time, we talked about how to use nacos as a registry. Spring cloud Alibaba basis to create basic dependency First of all, we create a spring cloud Alibaba basis basic dependency project to work out the common version we want to use. spring boot version 2.1.7.RELEASE ...

Posted on Sun, 27 Oct 2019 17:58:59 -0700 by banks1850

Discover. git directory

Prepare material Execute the following command to create the warehouse for this experiment. ## Create warehouse catalog mkdir hello cd hello/ touch hello.txt mkdir subdir touch subdir/index.txt ## Initialize warehouse git init # Initialized empty Git repository in /tmp/hello/.git/ ## Submission git ...

Posted on Sun, 27 Oct 2019 00:35:07 -0700 by wxflint

React16 source code analysis - update process submission phase

Welcome to read the React source code analysis series:React16 source code analysis (I) - illustration of Fiber architectureReact16 source code analysis (2) - create updateReact16 source code analysis (III) - ExpirationTimeReact16 source code analysis (IV) - SchedulerReact16 source code analysis (V) - update process rendering stage 1React16 sour ...

Posted on Fri, 18 Oct 2019 13:19:24 -0700 by witt

[Camera Project] Sprd - Deep and Simple Camera Driver Framework 1(HAL Layer - Kernel Layer)

I. Preface This paper mainly studies the Camera driver and HAL layer code architecture of Exhibition Platform, and is familiar with the control process of Exhibition Camera.Platform: Sprd-Exhibition PlatformHal Version: [HAL3] The knowledge points are as follows: From HAL Layer to deiver Layer1.Camera open, init and power on call process 2. Pr ...

Posted on Thu, 10 Oct 2019 15:15:30 -0700 by jesse24

angular Routing Multiplexing Strategy

Recently, when working out the refresh function of single page components, I came into contact with the routing reuse strategy, and summarized the following: Usage: New routing multiplexing file SimpleReuse Strategy.ts: import { RouteReuseStrategy, DefaultUrlSerializer, ActivatedRouteSnapshot, Detache ...

Posted on Tue, 08 Oct 2019 17:49:52 -0700 by fuii_koh

Implement linux system release jar package project script start and log automatically cut by date

1 linux script for publishing jar #!/bin/bash Defining variables To run the jar package path, add no quotation marks. Note: There must be no spaces on either side of the equal sign, otherwise the command will be prompted not to be found. JAR_NAME = project name - 0.0.1-SNAPSHOT.jar Log path, pl ...

Posted on Thu, 03 Oct 2019 23:40:36 -0700 by daz1034

How to Rerun Data

Offline tasks, data re-run is a normal thing, such as the program runs and hangs up, such as the data run out is incorrect, need to check after re-run But when you re-run, it's important to note that no data has been written to hbase, or that the partition of hive already has data on that day. If hive h ...

Posted on Thu, 03 Oct 2019 19:06:21 -0700 by aunquarra