SolidJSS
SolidJSโ€ข14mo agoโ€ข
22 replies
Luka

[h3] [unhandled] H3Error: Client-only API called on the server side. Run client-only code in onMount

I keep getting the above error I have SSR true in configs when i set it to false everything works alright As it told me that server side code might have some client code I looked back at my server code but didnt find anything specific to client code, what could be a solution? has anyone gotten the error before?
Was this page helpful?