Skip to content

Instantly share code, notes, and snippets.

@simbathesailor
Created December 25, 2019 16:25
Show Gist options
  • Save simbathesailor/27498b370bb290fa9bd0e66ec0f0378e to your computer and use it in GitHub Desktop.
Save simbathesailor/27498b370bb290fa9bd0e66ec0f0378e to your computer and use it in GitHub Desktop.
blog14.md
// Type 2
function useAcceptOptions(option) {
  
  React.useEffect(() => {
    // all good
  }, [option]);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment