Last active
August 24, 2021 20:42
-
-
Save VAggrippino/d35696a61fcad789fdd1148b4a64efff to your computer and use it in GitHub Desktop.
VSCode Snippet: Boilerplate to start a React App with a functional component
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 characters
{ | |
"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