Functional component shortcut
An easy way to setup your component on a single shortcut, rafce (React arrow function export component)
- #react
You will need to install this extension for it to work.
component.jsx
// use the rafce shortcut in a empty jsx document
import React from 'react'
const compontent = () => {
return (
<div>compontent</div>
)
}
export default compontent