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

Fix SSR regression #321

Open
jpdriver opened this issue May 12, 2022 · 2 comments · May be fixed by #322
Open

Fix SSR regression #321

jpdriver opened this issue May 12, 2022 · 2 comments · May be fixed by #322
Assignees

Comments

@jpdriver
Copy link
Contributor

we need to refactor <LiveProvider /> to avoid relying on useEffect (which does not run on the server because it only runs after each render)

we also have a useState hook that gets initialized with empty values. The refactor should make transpileAsync() callable in both the useEffect hook and the useState initializer.

@tujoworker
Copy link

Thanks for reporting. I'll come with an PR.

@tujoworker tujoworker linked a pull request May 25, 2022 that will close this issue
@tujoworker
Copy link

@jpdriver and @rilakumma Are you able to look at the PR?

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 a pull request may close this issue.

3 participants