Last active
May 6, 2024 05:21
-
-
Save ohanhi/d103ee7dcbe51e803d6c to your computer and use it in GitHub Desktop.
Revisions
-
ohanhi revised this gist
Oct 13, 2015 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal 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, 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. -
ohanhi revised this gist
Oct 13, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal 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. **NOTE:** If you like this, star :star: the Gist - the amount of stars decides whether it makes the cut! ## The Joy of Composition -
ohanhi revised this gist
Oct 13, 2015 . 1 changed file with 5 additions and 7 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,14 +1,12 @@ 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! ## 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. -
ohanhi revised this gist
Oct 13, 2015 . 1 changed file with 5 additions and 3 deletions.There are no files selected for viewing
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 charactersOriginal 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. 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. -
ohanhi created this gist
Oct 13, 2015 .There are no files selected for viewing
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 charactersOriginal 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.