test new feature of react 18, about useTransition and useEffect runs twice when the component mounts
Primary LanguageTypeScript