4.0.0 (2023-11-13)
Features
- add 'state' value to useUser return (0db3eab)
- allow updating of granteeId via context hook (0ac4e56)
BREAKING CHANGES
- user no longer returns null, instead it returns a 'state' value of 'success' | 'loading' | 'error'.
This will massively simplify usage of the hook, especially when it comes to handling both loading states and errors.