Skip to content

Instantly share code, notes, and snippets.

@VAggrippino
Last active August 24, 2021 20:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save VAggrippino/d35696a61fcad789fdd1148b4a64efff to your computer and use it in GitHub Desktop.
Save VAggrippino/d35696a61fcad789fdd1148b4a64efff to your computer and use it in GitHub Desktop.
VSCode Snippet: Boilerplate to start a React App with a functional component
{
"React Boilerplate": {
"prefix": ["react-functional"],
"body": "import React from 'react';\nimport ReactDOM from 'react-dom';\n\nconst App = () => {\n\t$0\n}\n\nReactDOM.render(\n\t<App />,\n\tdocument.querySelector('#root')\n)",
"description": "React app boilerplate with a functional component."
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment