Skip to content

Commit 3bf588f

Browse files
committed
upd
1 parent 39b74fc commit 3bf588f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • src/overview/language-comparison

src/overview/language-comparison/mxml.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ The Whack DS framework allows programmers to implement UI components as throwawa
3333

3434
## Effects
3535

36-
*Effect* hooks like `whack.ds.useEffect` may be used to detect changes to props, state or context as well as the component mount and unmount phases.
36+
*Effect* hooks like `whack.ds.useEffect` may be used to run code when specific Props, State or Context change, or solely for running code during the component mount and unmount phases.
3737

38-
The effect dependencies — states, props and contexts it relies on — are auto-tracked.
38+
The effect dependencies — States, Props and Contexts it relies on — are auto-tracked as the effect function evaluates.
3939

4040
```sx
4141
whack.ds.useEffect(function() {
@@ -45,7 +45,7 @@ whack.ds.useEffect(function() {
4545
};
4646
});
4747
48-
// Effect that runs everytime "*"
48+
// Effect that runs everytime (*)
4949
whack.ds.useEffect(function() {
5050
//
5151
}, "*");

0 commit comments

Comments
 (0)