Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exports initSSR #139

Closed
wants to merge 1 commit into from
Closed

Conversation

igorjacauna
Copy link

Exports initSSR to help when occurs document is not defined with renderSSR

I'm using Vite to build my SSR application and initSSR is missing in exports, causing incorrectly bundle build

@yandeu
Copy link
Member

yandeu commented Jul 26, 2023

I don't recommend using initSSR() manually, but instead wrap your component inside a anonymous function.

See #106

@igorjacauna
Copy link
Author

Thanks @yandeu! I thought that there was not a problem to use initSSR() manually.

I will follow the approach from #106!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants