Aya-X / react-useAuth

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

useAuth()

  1. 版本:useState

  2. 版本:useContext

  3. 版本:custom hook

  4. 版本:Best Practice


useContext

https://react.dev/reference/react/createContext#createcontext

Best Practice

https://pjchender.dev/react/react-context-provider-api/#-usecontext-best-practice


React + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

About


Languages

Language:JavaScript 53.4%Language:CSS 38.8%Language:HTML 7.8%