<([a-z][a-z0-9]*)[^>]*?(/?)>
| token | explanation |
|---|---|
| < | match < at beginning of tags |
| ( | start capture group $1 - tag name |
| [a-z] | match a through z |
在 reducer 中,都是返回一个新对象,否则组件是不会更新 ui 的。而返回新对象,可以:
Object.assign:比较 hack,每次新生成一个对象...stateNative HTML controls are a challenge to style. You can style any element in the web platform that uses Shadow DOM with a pseudo element ::pseudo-element or the /deep/ path selector.
video::webkit-media-controls-timeline {
background-color: lime;
}
video /deep/ input[type=range] {| /* ******************************************************************************************* | |
| * THE UPDATED VERSION IS AVAILABLE AT | |
| * https://github.com/LeCoupa/awesome-cheatsheets | |
| * ******************************************************************************************* */ | |
| // 0. Synopsis. | |
| // http://nodejs.org/api/synopsis.html |