4.0.0-next.18 (2021-07-05)
Features
BREAKING CHANGES
- react: The
useSession
hook now returns an object. Here is how to accommodate for this change:
- const [ session, loading ] = useSession()
+ const { data: session, status } = useSession()
+ const loading = status === "loading"
With the new status
option, you can test states much more clearly.