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

refactor(web): Suspense + Streaming #6

Merged
merged 1 commit into from
Feb 25, 2024
Merged

refactor(web): Suspense + Streaming #6

merged 1 commit into from
Feb 25, 2024

Conversation

azu
Copy link
Owner

@azu azu commented Feb 25, 2024

By using this, React Server Component can be streamed. In other words, the website is displayed before the search results are displayed, and the search results are loaded after displayed website.

Feb-25-2024.14-58-26_optimized.mp4

This should stabilize the TTFB.
The site will be displayed quickly without relying on search queries.

image

@azu azu added the Type: Refactoring A code change that neither fixes a bug nor adds a feature label Feb 25, 2024
@azu azu merged commit 5d665d8 into main Feb 25, 2024
4 checks passed
@azu azu deleted the streaming branch February 25, 2024 06:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Refactoring A code change that neither fixes a bug nor adds a feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant