Skip to content

Commit 23d83f1

Browse files
committed
upd
1 parent 98deb5a commit 23d83f1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/overview/whackds.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ WhackDS automatically memoizes components, allowing for user customizable parame
88

99
Just like with React.js, memoizing components has drawbacks such as possibly volatile code regions (such as when internationalizing a product with locale-specific translation strings). In such cases, relying on a WhackDS context will re-render the component when the context changes regardless of whether parameters did or not change.
1010

11+
WhackDS skips re-rendering component if the parent re-renders and the parameters are equals to the previous render; the WhackDS component's own states updating will always re-render it.
12+
1113
## Style blocks
1214

1315
WhackDS supports style sheets out of the box. Here is a simple example:

0 commit comments

Comments
 (0)