Closed chadleong closed 1 year ago
In the extension settings there is a setting called "Import React On Top" that "controls if snippets should add import React from 'react'; at the top of components. Use if you have React +17 and use jsx transform." I'm pretty sure, you're looking for that.
PS. works on VS Code
Thanks that does the trick !
Since this statement is no longer needed in React 17+, can this be disabled while using
rafce