Skip to content

Commit

Permalink
Remove a redundant sentence of emphasis on not changing attributes in…
Browse files Browse the repository at this point in the history
… the middle of a statement.
  • Loading branch information
jyasskin authored Dec 12, 2024
1 parent efc9ed8 commit f45db0c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1470,10 +1470,7 @@ Data can update synchronously from the result of developer action.
and is immediately observable.
</div>

A few kinds of situations justify violating this rule.
In these cases,
be sure to [[#attributes-like-data|expose values as methods rather than attributes
if they might change in the middle of a JS statement]].
A few kinds of situations justify violating this rule:

* Observing the current time,
as in {{Date/now|Date.now()}} and {{Performance/now|performance.now()}},
Expand Down

0 comments on commit f45db0c

Please sign in to comment.