-
Notifications
You must be signed in to change notification settings - Fork 191
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
Streamline and modernize naming #1663
Streamline and modernize naming #1663
Conversation
- This commit continues the process of clearly documenting how the methods on `VM` affect the VM state. - Removes a number of duplicate methods that made the surface of the VM seem more elaborate than it actually is. - Consolidates the various "contexts" further to clarify the different kinds of state and the conditions under which they can change. - Further cleanup the debug state to make it clearer when explicit snapshots are necessary but allow stable objects on `debug` when they are appropriate.
4f64f7e
to
7d7d1bd
Compare
export type RemoteLiveBlock = SimpleLiveBlock; | ||
|
||
export interface UpdatableBlock extends SimpleLiveBlock { | ||
/** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like these much better than their previous names
readonly stdlib: STDLib; | ||
|
||
/** | ||
* A framework-specified resolver for resolving free variables in classic templates. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I super appreciate all these inline comments!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
This PR pulls out the naming and documentation changes in #1649 so they can be landed separately.
The naming changes are focused on: