You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After running into a issue using client hooks and server rendering, @tylermcginnis referenced/explained (thanks!) why that error is necessary: #218 (comment)
add a structured docs block to every client hook in the docs (e.g. using the explanation of Tyler) on the website
include the url to this explanation within the error message in the code
mark client-hooks in the hook overview (maybe also sort?)
useHooks advertises "server-safe" which is a bit misleading. I acknowledge, that it was a user error due to not fully understanding server render. useHooks could make life much easier for the users. My initial experience was pretty frustrating. (Remember Apple's "You're holding it wrong")
Thanks for providing this library.
The text was updated successfully, but these errors were encountered:
After running into a issue using client hooks and server rendering, @tylermcginnis referenced/explained (thanks!) why that error is necessary: #218 (comment)
It turns out, that happened to multiple users:
Therefore the proposal is to:
useHooks advertises "server-safe" which is a bit misleading. I acknowledge, that it was a user error due to not fully understanding server render. useHooks could make life much easier for the users. My initial experience was pretty frustrating. (Remember Apple's "You're holding it wrong")
Thanks for providing this library.
The text was updated successfully, but these errors were encountered: