✅ = we use it in coinbase-ios
- SnapKit Swift auto layout DSL. Simplifies defining UI constraints.
- Cartography Another declarative auto layout DSL.
- PureLayout Extends UIView/NSView, NSArray, and NSLayoutConstraint with more Auto Layout APIs.
✅ = we use it in coinbase-ios
Don't externalize your internals
const isUseEffect = (node) => node.callee.name === 'useEffect'; | |
const argumentIsArrowFunction = (node) => node.arguments[0].type === 'ArrowFunctionExpression'; | |
const effectBodyIsSingleFunction = (node) => { | |
const { body } = node.arguments[0]; | |
// It's a single unwrapped function call: | |
// `useEffect(() => theNameOfAFunction(), []);` | |
if (body.type === 'CallExpression') { |
{ | |
"telemetry.telemetryLevel": "off", | |
"nxConsole.enableTelemetry": false, | |
"editor.fontLigatures": true, | |
"editor.fontFamily": "Fira Code", | |
"editor.fontSize": 16, | |
"files.trimTrailingWhitespace": true, | |
"files.insertFinalNewline": true, | |
"workbench.editor.enablePreview": false, | |
"editor.renderWhitespace": "all", |
{"lastUpload":"2019-10-11T19:43:48.295Z","extensionVersion":"v3.4.3"} |
9th Edition - ES.Next | |
Stage 3 (Candidate) | |
=================== | |
1. SIMD - Single Instruction Multiple Data | |
http://www.2ality.com/2013/12/simd-js.html | |
https://github.com/tc39/ecmascript_simd/blob/master/tc39/SIMD-128%20TC-39.pdf |
Objects have four states: | |
properties can be added | deleted | modified* | do it with | check with | |
Default √ | √ | √ | n/a | n/a | |
preventExtensions X | √ | √ | preventExtensions | isExtensible | |
seal X | X | √ | seal | isSealed | |
freeze X | X | X | freeze | isFrozen | |
* by changing any of the four attributes below | |
You can make an object in three different ways: |
SmashingConf New York 2016 | |
June 14-15 | |
New York, NY | |
http://lanyrd.com/2016/smashingconf-new-york/ | |
Generate | |
July 15th | |
San Francisco, CA | |
http://www.generateconf.com/san-francisco-2016/ |
Full name | Email address or phone number | |
---|---|---|
Harry Potter | harrypotter@remind.com | |
Hermoine Granger | hermoine@remind.c | |
Rupert | rupert@remind.com | |
Luna Lovegood | ||
He who must not be named with a really long name | 415-444-4444 | |
Dumbledore | 415-555-5555 | |
Severus Snape | 444-4244 | |
Ron Weasley | +2444-4-4-4-4 | |
Lord voldemort | 415-444-4444 |