Open
Description
Hey,
Thanks for this awsome extension.
Is anybody else having problems with the import react setting?
in my vscode settings I have
"reactSnippets.settings.prettierEnabled": true,
"reactSnippets.settings.importReactOnTop": false
Prettier option works, but react is always being imported at the top of the file.
react - 18.2.0
vscode - 1.75.1
Metadata
Metadata
Assignees
Labels
No labels
Activity
hubcio2115 commentedon Mar 23, 2023
I did have the same problem. After reading this issue I was playing with the settings and turning it on, then turning prettier setting off then turning import react off fixed it for me.
Also after reanabling prettier it still works.
This solution also has been mentioned in this thread
hymced commentedon Nov 28, 2023
This did not work for me, the only thing that worked is mentioned here.