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

React SSR Support #12

Closed
Tracked by #32
sgammon opened this issue Jun 27, 2022 · 1 comment
Closed
Tracked by #32

React SSR Support #12

sgammon opened this issue Jun 27, 2022 · 1 comment
Labels
feature Large PRs or issues with full-blown features

Comments

@sgammon
Copy link
Member

sgammon commented Jun 27, 2022

It's already possible to make React SSR work, and there is a code sample for it, but it can be pretty slow:

  • Source objects are re-parsed on every load. Everything is loaded fresh every time, which is definitely not necessary. Source objects can intelligently cache if we leverage it.
  • Some code is loaded at runtime. It would be best to expose the JS runtime calls at compile time, so that AOT can optimize them.
  • Inputs. State sharing hasn't been explored yet, but if we kept this hashable, caching would be really easy.
@sgammon sgammon mentioned this issue Jun 27, 2022
30 tasks
@sgammon sgammon added the feature Large PRs or issues with full-blown features label Jul 4, 2022
@sgammon sgammon mentioned this issue Jul 13, 2022
10 tasks
@sgammon sgammon added this to the Release R2: Alpha 2 milestone Jul 13, 2022
@sgammon
Copy link
Member Author

sgammon commented Jul 18, 2022

closed via #34

@sgammon sgammon closed this as completed Jul 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Large PRs or issues with full-blown features
Projects
None yet
Development

No branches or pull requests

1 participant