-
Notifications
You must be signed in to change notification settings - Fork 4
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
ENG-4659 feat(portal): set up hydration boundary in portal provider #888
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… is needed for the hydration pattern
ENG-4659 Set up HydrationBoundary and hydration client on Portal
TLDR: Functional Requirement(s): Task Breakdown - should translate to sub-issues if applicable:
|
0xjojikun
approved these changes
Nov 7, 2024
10 tasks
10 tasks
jonathanprozzi
added a commit
that referenced
this pull request
Nov 9, 2024
- Adds in the HydrationBoundary in the providers.tsx -- this enables the partial hydration pattern referenced in #885 - Once this wraps Portal via the providers we can partially hydrate as long as the queryKey matches server + client side. This won't have any bearing on our client-side only hooks such as in modals but enables the hydration pattern where loaders are available - The HydrationBoundary ensures that our client-side cache for each query (where loaders are available) starts with the same data that was fetched and rendered on the server - Note: This re-opens PR #888 into `feature/graphql-migration` instead of onto `main`
jonathanprozzi
added a commit
that referenced
this pull request
Nov 12, 2024
- Adds in the HydrationBoundary in the providers.tsx -- this enables the partial hydration pattern referenced in #885 - Once this wraps Portal via the providers we can partially hydrate as long as the queryKey matches server + client side. This won't have any bearing on our client-side only hooks such as in modals but enables the hydration pattern where loaders are available - The HydrationBoundary ensures that our client-side cache for each query (where loaders are available) starts with the same data that was fetched and rendered on the server - Note: This re-opens PR #888 into `feature/graphql-migration` instead of onto `main`
Vitalsine85
pushed a commit
that referenced
this pull request
Nov 13, 2024
- Adds in the HydrationBoundary in the providers.tsx -- this enables the partial hydration pattern referenced in #885 - Once this wraps Portal via the providers we can partially hydrate as long as the queryKey matches server + client side. This won't have any bearing on our client-side only hooks such as in modals but enables the hydration pattern where loaders are available - The HydrationBoundary ensures that our client-side cache for each query (where loaders are available) starts with the same data that was fetched and rendered on the server - Note: This re-opens PR #888 into `feature/graphql-migration` instead of onto `main`
jonathanprozzi
added a commit
that referenced
this pull request
Nov 14, 2024
- Adds in the HydrationBoundary in the providers.tsx -- this enables the partial hydration pattern referenced in #885 - Once this wraps Portal via the providers we can partially hydrate as long as the queryKey matches server + client side. This won't have any bearing on our client-side only hooks such as in modals but enables the hydration pattern where loaders are available - The HydrationBoundary ensures that our client-side cache for each query (where loaders are available) starts with the same data that was fetched and rendered on the server - Note: This re-opens PR #888 into `feature/graphql-migration` instead of onto `main`
0xjojikun
pushed a commit
that referenced
this pull request
Nov 15, 2024
- Adds in the HydrationBoundary in the providers.tsx -- this enables the partial hydration pattern referenced in #885 - Once this wraps Portal via the providers we can partially hydrate as long as the queryKey matches server + client side. This won't have any bearing on our client-side only hooks such as in modals but enables the hydration pattern where loaders are available - The HydrationBoundary ensures that our client-side cache for each query (where loaders are available) starts with the same data that was fetched and rendered on the server - Note: This re-opens PR #888 into `feature/graphql-migration` instead of onto `main`
0xjojikun
pushed a commit
that referenced
this pull request
Nov 22, 2024
- Adds in the HydrationBoundary in the providers.tsx -- this enables the partial hydration pattern referenced in #885 - Once this wraps Portal via the providers we can partially hydrate as long as the queryKey matches server + client side. This won't have any bearing on our client-side only hooks such as in modals but enables the hydration pattern where loaders are available - The HydrationBoundary ensures that our client-side cache for each query (where loaders are available) starts with the same data that was fetched and rendered on the server - Note: This re-opens PR #888 into `feature/graphql-migration` instead of onto `main`
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Affected Packages
Apps
Packages
Tools
Overview
HydrationBoundary
in theproviders.tsx
-- this enables the partial hydration pattern referenced in ENG-4634 feat(repo): adds initial data hydration pattern to template playground routes #885queryKey
matches server + client side. This won't have any bearing on our client-side only hooks such as in modals but enables the hydration pattern where loaders are availableHydrationBoundary
ensures that our client-side cache for each query (where loaders are available) starts with the same data that was fetched and rendered on the serverScreen Captures
If applicable, add screenshots or screen captures of your changes.
Declaration