Within the last couple of years, hooks have become the standard way for libraries to expose their APIs. Throughout this course we have already seen several examples of this: [Zustand](https://zustand-demo.pmnd.rs/) provides <i>useStore</i> for accessing global state, [React Router](https://reactrouter.com/) exposes <i>useNavigate</i> and <i>useParams</i> for programmatic navigation and URL parameter access, and [React Query](https://tanstack.com/query/latest) offers <i>useQuery</i> and <i>useMutation</i> for server state management.
0 commit comments