PROBLEM: VSCode autoimports the wrong react library. For example:
Typing useState() will result to either of the following:
import { useState } from "react/cjs/react.production.min";
import { useState } from "react/cjs/react.development";
instead of: import { useState } from "react";
SOLUTION: npm install -D @types/react