A hook that checks whether the application is hydrated. Useful for resolving SSR bugs.
Values
isClient:
boolean value that returns true if the application is hydrated
key:
Either returns 'client' or 'server'. Key can be passed to the key prop to force a re-render of the component on hydration