Skip to content

Instantly share code, notes, and snippets.

@jeanpaulsio
Created December 13, 2017 05:08
Show Gist options
  • Save jeanpaulsio/edac68007ae58d4d76c06248887fe2dc to your computer and use it in GitHub Desktop.
Save jeanpaulsio/edac68007ae58d4d76c06248887fe2dc to your computer and use it in GitHub Desktop.

Revisions

  1. jeanpaulsio created this gist Dec 13, 2017.
    1 change: 1 addition & 0 deletions withErrorHandlingHOC-2.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    const DivWithErrorHandling = withErrorHandling(({children}) => <div>{children}</div>)