- call mom
- visit bank
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"prettifySymbolsMode.adjustCursorMovement": true, | |
"prettifySymbolsMode.substitutions": [{ | |
"language": "typescriptreact", | |
"substitutions": [ | |
{ | |
"ugly": "function", | |
"pretty": "ƒ", | |
"pre": "\\b", | |
"post": "\\b" | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Suspence? | |
* what? | |
- Beyond React 16, https://www.youtube.com/watch?v=nLF0n9SACd4 | |
* why? | |
* how? | |
## Concurrent Mode? | |
* what? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default (a, b) => a - b |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// @flow | |
import React from 'react' | |
type PropsA = { | |
children?: React.Node | |
} | |
const A = (props: PropsA) => ( | |
<div> | |
{props.children} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// @flow | |
import React from 'react' | |
type Props = { | |
foo: number, | |
bar: string, | |
disabled: boolean, | |
children?: React.Element<any> | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* @flow */ | |
import React from 'react' | |
type QuoteProps = { | |
message: string, | |
quote: string, | |
name: string, | |
photoUrl: string, | |
photoAlt: string |
- a
- b
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// http://eslint.org/docs/rules/ | |
"ecmaFeatures": { | |
"binaryLiterals": false, // enable binary literals | |
"blockBindings": false, // enable let and const (aka block bindings) | |
"defaultParams": false, // enable default function parameters | |
"forOf": false, // enable for-of loops | |
"generators": false, // enable generators | |
"objectLiteralComputedProperties": false, // enable computed object literal property names |
NewerOlder