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.

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