Skip to content

Instantly share code, notes, and snippets.

@threepointone
Last active July 31, 2022 17:46
Show Gist options
  • Select an option

  • Save threepointone/75eadefb56c448c9df4cb41b75fd42c2 to your computer and use it in GitHub Desktop.

Select an option

Save threepointone/75eadefb56c448c9df4cb41b75fd42c2 to your computer and use it in GitHub Desktop.

Revisions

  1. threepointone revised this gist Jan 26, 2017. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions alternative.md
    Original file line number Diff line number Diff line change
    @@ -9,8 +9,8 @@ js
    - Promise - is a lie when rejected
    - Array.reduce - accumulates, does not reduce (via @sbmadhav)
    - const - isn't constant, can be mutated (via [adamwknox](https://twitter.com/adamwknox/status/824477502483656704))
    - typeof NaN === 'number' 🙄
    - continue - stops execution of current block
    - typeof NaN === 'number' 🙄 (via @delapouite)
    - continue - stops execution of current block (via @vdanchenkov)

    react
    ---
    @@ -27,4 +27,4 @@ misc
    - babel - speaks only one language (though understands many)
    - rxjs - rx implies prescription, not subscription
    - javascript - isn't a scripting language for java, or related to java in any way.
    - isomorphic - is a word used to compare two different, but similar structures; not to say that one structure works in multiple places
    - isomorphic - is a word used to compare two different, but similar structures; not to say that one structure works in multiple places (via @gaearon)
  2. threepointone revised this gist Jan 26, 2017. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion alternative.md
    Original file line number Diff line number Diff line change
    @@ -9,6 +9,8 @@ js
    - Promise - is a lie when rejected
    - Array.reduce - accumulates, does not reduce (via @sbmadhav)
    - const - isn't constant, can be mutated (via [adamwknox](https://twitter.com/adamwknox/status/824477502483656704))
    - typeof NaN === 'number' 🙄
    - continue - stops execution of current block

    react
    ---
    @@ -24,4 +26,5 @@ misc
    ---
    - babel - speaks only one language (though understands many)
    - rxjs - rx implies prescription, not subscription
    - javascript - isn't a scripting language for java, or related to java in any way.
    - javascript - isn't a scripting language for java, or related to java in any way.
    - isomorphic - is a word used to compare two different, but similar structures; not to say that one structure works in multiple places
  3. threepointone revised this gist Jan 26, 2017. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions alternative.md
    Original file line number Diff line number Diff line change
    @@ -8,6 +8,7 @@ js
    - Math.random() - computers cannot generate random numbers
    - Promise - is a lie when rejected
    - Array.reduce - accumulates, does not reduce (via @sbmadhav)
    - const - isn't constant, can be mutated (via [adamwknox](https://twitter.com/adamwknox/status/824477502483656704))

    react
    ---
  4. threepointone revised this gist Jan 26, 2017. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions alternative.md
    Original file line number Diff line number Diff line change
    @@ -23,3 +23,4 @@ misc
    ---
    - babel - speaks only one language (though understands many)
    - rxjs - rx implies prescription, not subscription
    - javascript - isn't a scripting language for java, or related to java in any way.
  5. threepointone revised this gist Jan 26, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion alternative.md
    Original file line number Diff line number Diff line change
    @@ -7,7 +7,7 @@ js
    - setTimeout(fn, n) - never sets the timeout to exactly n
    - Math.random() - computers cannot generate random numbers
    - Promise - is a lie when rejected

    - Array.reduce - accumulates, does not reduce (via @sbmadhav)

    react
    ---
  6. threepointone revised this gist Jan 26, 2017. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions alternative.md
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,5 @@
    (also know as lies and/or alternative facts)

    js
    ---

  7. threepointone revised this gist Jan 26, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion alternative.md
    Original file line number Diff line number Diff line change
    @@ -3,7 +3,7 @@ js

    - setImmediate - doesn't set anything immediately, waits for a tick before executing
    - setTimeout(fn, n) - never sets the timeout to exactly n
    - Math.random() - computers cannot geneate random numbers
    - Math.random() - computers cannot generate random numbers
    - Promise - is a lie when rejected


  8. threepointone revised this gist Jan 26, 2017. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions alternative.md
    Original file line number Diff line number Diff line change
    @@ -19,5 +19,5 @@ react

    misc
    ---
    babel - speaks only one language (though understands many)
    rxjs - rx implies prescription, not subscription
    - babel - speaks only one language (though understands many)
    - rxjs - rx implies prescription, not subscription
  9. threepointone revised this gist Jan 26, 2017. 1 changed file with 9 additions and 9 deletions.
    18 changes: 9 additions & 9 deletions alternative.md
    Original file line number Diff line number Diff line change
    @@ -1,20 +1,20 @@
    js
    ---

    setImmediate - doesn't set anything immediately, waits for a tick before executing
    setTimeout(fn, n) - never sets the timeout to exactly n
    Math.random() - computers cannot geneate random numbers
    Promise - is a lie when rejected
    - setImmediate - doesn't set anything immediately, waits for a tick before executing
    - setTimeout(fn, n) - never sets the timeout to exactly n
    - Math.random() - computers cannot geneate random numbers
    - Promise - is a lie when rejected


    react
    ---

    setState - doesn't set, but enqueues a state change
    createElement - creates a description of the actual element
    instance::render() - doesn't actually render
    componentWillMount - component might not mount
    react (!) - doesn't react immediately, schedules changes instead
    - setState - doesn't set, but enqueues a state change
    - createElement - creates a description of the actual element
    - instance::render() - doesn't actually render
    - componentWillMount - component might not mount
    - react (!) - doesn't react immediately, schedules changes instead


    misc
  10. threepointone created this gist Jan 26, 2017.
    23 changes: 23 additions & 0 deletions alternative.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,23 @@
    js
    ---

    setImmediate - doesn't set anything immediately, waits for a tick before executing
    setTimeout(fn, n) - never sets the timeout to exactly n
    Math.random() - computers cannot geneate random numbers
    Promise - is a lie when rejected


    react
    ---

    setState - doesn't set, but enqueues a state change
    createElement - creates a description of the actual element
    instance::render() - doesn't actually render
    componentWillMount - component might not mount
    react (!) - doesn't react immediately, schedules changes instead


    misc
    ---
    babel - speaks only one language (though understands many)
    rxjs - rx implies prescription, not subscription