tc39 / proposal-signals

A proposal to add signals to JavaScript.
MIT License
2.95k stars 54 forks source link

Clarify "glitch" as a technical term #138

Closed dead-claudia closed 1 month ago

dead-claudia commented 1 month ago

Related to #123. I thought it'd at least be worth taking the step of clarifying it as a technical term of art in the meantime until someone rewrites the explainer.

fabiospampinato commented 1 month ago

If rendering is done immediately when a Signal is set, it may expose incomplete application state to the end user.

I'm not sure I see this, how would it happen?

Unless there is a bug somewhere I don't think you'd get into a state where logging a value and its computed double won't make sense, for example.

Nor the browser will be rendering (except for scrolling and some things like that?) while the main thread is blocked, I think.

dead-claudia commented 1 month ago

@fabiospampinato I didn't write that prose (or any prose, for that matter). This PR is just adding inline links in a few places.

dead-claudia commented 1 month ago

@littledan Thanks for the catch! Pushed a fix.