> Immer German for: always is a tiny package that allows you to work with immutable state in a more convenient way.
— Immer Documentation
Immer uses Proxies under the hood and therefore to understand the details of this library we need to know a li...
Hi Guys,
SO here is what we are going to learn to code today:
const useLoggedInUser = => {
const loggedInUser, setLoggedInUser = useGlobalState"loggedInUser", {}
return loggedInUser, setLoggedInUser
}
We can export this function and ...