1. Use TypeScript to catch errors early · 2. Use hooks · 3. Build your data access layer as custom hooks -- e.g. const { isLoggedIn, loggin } = useAuth(); · 4.
確定! 回上一頁