Thanks to visit codestin.com
Credit goes to github.com

Skip to content

refactor(core): WIP - partial hydration prototype #56311

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

Closed

Conversation

thePunderWoman
Copy link
Contributor

No description provided.

@thePunderWoman thePunderWoman force-pushed the partial-hydration-prototype branch 3 times, most recently from 5cd9091 to 7a8fb19 Compare June 13, 2024 18:28
@angular-robot angular-robot bot added area: core Issues related to the framework runtime area: compiler Issues related to `ngc`, Angular's template compiler labels Jun 13, 2024
@ngbot ngbot bot modified the milestone: Backlog Jun 13, 2024
@thePunderWoman thePunderWoman force-pushed the partial-hydration-prototype branch from 7a8fb19 to ed9fa93 Compare June 13, 2024 19:47
@thePunderWoman thePunderWoman force-pushed the partial-hydration-prototype branch 9 times, most recently from 4eaaad5 to d532715 Compare July 23, 2024 21:12
@thePunderWoman thePunderWoman force-pushed the partial-hydration-prototype branch 10 times, most recently from 57c97e3 to 43320ca Compare July 30, 2024 20:46
@angular-robot angular-robot bot added the detected: feature PR contains a feature commit label Jul 31, 2024
@thePunderWoman thePunderWoman force-pushed the partial-hydration-prototype branch from 065d394 to 056f50c Compare August 2, 2024 21:09
This separates out the full app hydration and partial hydration tests, adds a bunch, and adds ngh annotations for defer blocks.
this adds serialized defer block details for partial hydration
This should be able to look through and find all the nodes with ngh and the appropriate triggers for partial hydration.
This adds non-jsaction events and starts to get them working
This adds functionality for all the partial hydration triggers.
This adds a never hydrate trigger.
this ensures the injection of the partial hydration token is optional and defaults to false.
this adds hydrate cleanup to trigger cleanup invocation.
defer triggers would be called regardless of the hydrate trigger presence. This ensures they are not called when on initial load and have a hydrate flag.
Partial hydration cases are nuanced in when they need to be cleaned up. This adds the right conditions to avoid over and under cleaning up of nodes.
Hydrate viewport will always be adjacent to a defer trigger. So hydrate triggers should never cause a missing placeholder error to occur.
In some cases, hydrate triggers were being used as a default due to a problem in the ingest parsing. This ensures idle is added as default in the right cases.
event replay was firing too early in some cases due to an early return of a null.
cleanup was causing overzealous removal of content because the app was not yet stable.
@thePunderWoman thePunderWoman force-pushed the partial-hydration-prototype branch from 58f6b26 to 1ceaaca Compare September 16, 2024 14:09
@angular-robot angular-robot bot added area: core Issues related to the framework runtime area: compiler Issues related to `ngc`, Angular's template compiler and removed area: compiler Issues related to `ngc`, Angular's template compiler area: core Issues related to the framework runtime labels Sep 16, 2024
@ngbot ngbot bot modified the milestone: Backlog Sep 16, 2024
@thePunderWoman thePunderWoman deleted the partial-hydration-prototype branch October 22, 2024 16:51
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Nov 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: compiler Issues related to `ngc`, Angular's template compiler area: core Issues related to the framework runtime detected: feature PR contains a feature commit state: WIP
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant