Skip to content

Instantly share code, notes, and snippets.

@JakeGinnivan
Last active September 4, 2019 09:23
Show Gist options
  • Save JakeGinnivan/2a2136a256f0f5fd5bfc5a5311863ae2 to your computer and use it in GitHub Desktop.
Save JakeGinnivan/2a2136a256f0f5fd5bfc5a5311863ae2 to your computer and use it in GitHub Desktop.

Revisions

  1. JakeGinnivan renamed this gist Sep 4, 2019. 1 changed file with 0 additions and 1 deletion.
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,3 @@
    js
    function articleLoaded(id, article) {
    return {
    type: 'ARTICLE_LOADED',
  2. JakeGinnivan created this gist Sep 4, 2019.
    7 changes: 7 additions & 0 deletions react-ssr-redux-action-creator
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    js
    function articleLoaded(id, article) {
    return {
    type: 'ARTICLE_LOADED',
    payload: { id, article }
    }
    }