Skip to content

Instantly share code, notes, and snippets.

@ohanhi
Last active May 6, 2024 05:21
Show Gist options
  • Save ohanhi/d103ee7dcbe51e803d6c to your computer and use it in GitHub Desktop.
Save ohanhi/d103ee7dcbe51e803d6c to your computer and use it in GitHub Desktop.

Revisions

  1. ohanhi revised this gist Oct 13, 2015. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions joy-of-composition.md
    Original file line number Diff line number Diff line change
    @@ -11,7 +11,7 @@ meaning that they are in essence pure functions for rendering. Pure functions ma
    into more manageable pieces.

    As the author of [`hyperscript-helpers`](https://github.com/ohanhi/hyperscript-helpers) and an [avid user of Elm](https://twitter.com/ohanhi/status/652368381182672898),
    I have fallen in love with functional UI composition. Inspired by @staltz's *To JSX or not to JSX* discussion, and specifically [my own
    comment](https://github.com/jsforum/jsforum/issues/1#issuecomment-147684323), I would love to share the joys of applying
    I have fallen in love with functional UI composition. Inspired by @staltz's *To JSX or not to JSX* discussion, specifically [this
    comment](https://github.com/jsforum/jsforum/issues/1#issuecomment-147682180): "Most UI tree code **should** look small.", I would love to share the joys of applying
    functional programming principles into dynamic UI rendering.

  2. ohanhi revised this gist Oct 13, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion joy-of-composition.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    This is a proposal for a lightning talk at the [Reactive 2015](https://reactive2015.com/) conference.

    If you like this, star :star: the Gist - the amount of stars decides whether it makes the cut!
    **NOTE:** If you like this, star :star: the Gist - the amount of stars decides whether it makes the cut!

    ## The Joy of Composition

  3. ohanhi revised this gist Oct 13, 2015. 1 changed file with 5 additions and 7 deletions.
    12 changes: 5 additions & 7 deletions joy-of-composition.md
    Original file line number Diff line number Diff line change
    @@ -1,14 +1,12 @@
    The Joy of Composition
    =====================================

    Why stateless rendering is pure bliss
    -------------------------------------

    This is a proposal for a lightning talk at the [Reactive 2015](https://reactive2015.com/) conference.

    If you like this, star :star: the Gist - the amount of stars decides whether it makes the cut!

    **Proposal:** React [just got stateless components](https://facebook.github.io/react/blog/2015/10/07/react-v0.14.html#stateless-functional-components),
    ## The Joy of Composition

    ### Why stateless rendering is pure bliss

    React [just got stateless components](https://facebook.github.io/react/blog/2015/10/07/react-v0.14.html#stateless-functional-components),
    meaning that they are in essence pure functions for rendering. Pure functions make it dead simple - even fun - to refactor your views
    into more manageable pieces.

  4. ohanhi revised this gist Oct 13, 2015. 1 changed file with 5 additions and 3 deletions.
    8 changes: 5 additions & 3 deletions joy-of-composition.md
    Original file line number Diff line number Diff line change
    @@ -9,9 +9,11 @@ This is a proposal for a lightning talk at the [Reactive 2015](https://reactive2
    If you like this, star :star: the Gist - the amount of stars decides whether it makes the cut!

    **Proposal:** React [just got stateless components](https://facebook.github.io/react/blog/2015/10/07/react-v0.14.html#stateless-functional-components),
    meaning that they are in essence pure functions for rendering. As the author of
    [`hyperscript-helpers`](https://github.com/ohanhi/hyperscript-helpers) and an [avid user of Elm](https://twitter.com/ohanhi/status/652368381182672898),
    I have fallen in love with functional UI composition. Inspired by @stalz's *To JSX or not to JSX* discussion, and specifically [my own
    meaning that they are in essence pure functions for rendering. Pure functions make it dead simple - even fun - to refactor your views
    into more manageable pieces.

    As the author of [`hyperscript-helpers`](https://github.com/ohanhi/hyperscript-helpers) and an [avid user of Elm](https://twitter.com/ohanhi/status/652368381182672898),
    I have fallen in love with functional UI composition. Inspired by @staltz's *To JSX or not to JSX* discussion, and specifically [my own
    comment](https://github.com/jsforum/jsforum/issues/1#issuecomment-147684323), I would love to share the joys of applying
    functional programming principles into dynamic UI rendering.

  5. ohanhi created this gist Oct 13, 2015.
    17 changes: 17 additions & 0 deletions joy-of-composition.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    The Joy of Composition
    =====================================

    Why stateless rendering is pure bliss
    -------------------------------------

    This is a proposal for a lightning talk at the [Reactive 2015](https://reactive2015.com/) conference.

    If you like this, star :star: the Gist - the amount of stars decides whether it makes the cut!

    **Proposal:** React [just got stateless components](https://facebook.github.io/react/blog/2015/10/07/react-v0.14.html#stateless-functional-components),
    meaning that they are in essence pure functions for rendering. As the author of
    [`hyperscript-helpers`](https://github.com/ohanhi/hyperscript-helpers) and an [avid user of Elm](https://twitter.com/ohanhi/status/652368381182672898),
    I have fallen in love with functional UI composition. Inspired by @stalz's *To JSX or not to JSX* discussion, and specifically [my own
    comment](https://github.com/jsforum/jsforum/issues/1#issuecomment-147684323), I would love to share the joys of applying
    functional programming principles into dynamic UI rendering.