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

Clean up handling of lifecycle phases #64

Open
tschneidereit opened this issue Jun 21, 2024 · 0 comments
Open

Clean up handling of lifecycle phases #64

tschneidereit opened this issue Jun 21, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@tschneidereit
Copy link
Member

@guybedford pointed out in a comment that the name for a newly introduced phase of a JS app's lifecycle is a bit off.

Rather than addressing that in-place, I'm filing this issue to track overhauling our overall management of these phases. We have a spattering of different things, from wizening to initialized to runtime, etc. I think we should clean all those up, and introduce a state-transitioning concept, capturing everything from "the runtime has been compiled, but no part of it ever ran" to "the JS runtime has been initialized, but nothing else", to "some code is currently being evaluated", etc, all the way to either "the main execution phase has finished, but could be re-run" or "the main execution phase has finished, and no more code must be run in this instance, because no cleanup happened".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

1 participant