Pro React 16 - Part 3

Chapter 18 CREATING COMPLETE APPLICATIONS Updating an object with setState in React. link Array.prototype.concat() Syntaxlink concat() concat(value0) concat(value0, value1) concat(value0, value1, ... , valueN) Chapter 19 USING A REDUX DATA STORE Name Description action An action describes an operation that will change the data in the store. Redux doesn’t allow data to be modified directly and requires actions to specify changes.

The Road To React

TODO: page 25. Consider how we can include a React application in an external web application that uses HTML. Hoisting Before the declaration of the function or variables, you can use them. Only declarations are hoisted, without initialize. Initializations using let and const are also not hoisted. // The program can be excuted without any errors. console.log(num); //output undefined num = 7; var num; Scoping let and const are block-scoped in JS, in contrast to var, which is function-scoped.

为你,千千万万遍 -- 《追风筝的人》

昨晚终于把《追风筝的人》看完了,这也是第一次体会到阅读的快意,不惑之年才体会到读小说的快乐,或许是有点儿晚了,不过迟到总比没到好。 还记得那天清晨,一个人窝坐在沙发上,妻儿们正睡得香甜,看着书中的人物在与命运抗争的时候,多多少少也为自己的命运感到庆幸。任何一个普通人如果出生在那样的环境中,都很难改变自己的命运。活着是一种奢望,死亡才是最好的归宿。 “为你,千千万万遍”这句话贯穿小说始终的话,我想它不只是哈桑对阿米尔表达的忠诚,也是每个阿富汗人民想对他们深爱的那片土地所说的话。当一个生活富足的父亲由于战争不得不带着自己的儿子远走他乡时,他能带走的只有对那片深受着的土地的思念。 在读这部小说之前,提到阿富汗这个国家,我的脑海中浮现的名词只有:“战争”,“贫穷”,“恐怖主义”和“塔利班”。阿富汗并非自始至终就是这个样子的,上世纪70年代初,阿富汗还是一个祥和安宁的国家,但是随着政权的倒台,以及随后爆发的苏阿战争,将这个国家彻底地拉入了痛苦的深渊。如果说这部小说让我学到了什么,那就是一定不要避免战争的爆发。

React Self Study

Book Pro React 16 ISBN: 978-1-4842-4450-0 homepage TODO LIST TODO: Chapter 13. Know more about componentWillUnmount. How to close network connections, how to stop any asynchronous tasks. Chapter 09 to be updated Chapter 10 to be updated Chapter 11 Stateful Component Stateful Component Definition import React, { Component } from 'react' export default class statefulComponent extends Component { constructor(props) { super(props) this.

How to Setup My Personal Blog With Hugo, Github

Install Hugo on your PC Nothing special, just follow the instructions of official documentation Here Create a repository in github Create a repository with <yourname>.github.io Create the new site Use hugo command to generate the new site hugo new site charlesgeng.github.io Checkout the repository from github git init git remote add origin https://github.com/CharlesGeng/charlesgeng.github.io.git git fetch git checkout origin/master -ft Add mainroad theme to the site.