Skip to content

Unable to import Html5 Navigator #11013

Answered by ijjk
samuelcastro asked this question in Help
Mar 12, 2020 · 4 comments · 7 replies
Discussion options

You must be logged in to vote

Hi, you need to wrap any usage of client-side APIs in a if (typeof window !== 'undefined') check before you attempt to use them or else they will throw an error during SSR or prerendering

Replies: 4 comments 7 replies

Comment options

You must be logged in to vote
6 replies
@samuelcastro
Comment options

@chrisdrackett
Comment options

@rafaelalmeidatk
Comment options

@chrisdrackett
Comment options

@rafaelalmeidatk
Comment options

Answer selected by ijjk
Comment options

You must be logged in to vote
1 reply
@yoventures
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
8 participants