r5n-dev / vscode-react-javascript-snippets

Extension for React/Javascript snippets with search supporting ES7+ and babel features
MIT License
1.71k stars 440 forks source link

_rafce not working #252

Closed forinda closed 2 years ago

forinda commented 2 years ago

I loved the template created without necessarily having import React from "react" In thelatest version that seems to have gone away but it was really amazing crating the functional components with that snippet. I'm just requesting if the feature could be revived again i.e

const App = () =>{
return <div>App</app>
}

export default App

instead of

import React from "react"
const App = ()=>{
return <div>App</app>
}
export default App
chillios-dev commented 2 years ago

249 #220 #221 #215 duplicate