I'm working on a Next-JS project with TypeScript.
Everything was fine till one day, VSCode decided to change my auto-import priorty.
In my case, I wanted to import useEffect
, useContext
,.. from react
. But somehow, Vscode auto-import first-place changed to preact-hook
, which is different from react
and take me time to debug it later when I test the code.
Any Idea how can I change the order to let react goes first?