Skip to content

Commit b4a198e

Browse files
committed
Update README
1 parent 2698d33 commit b4a198e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ Render the component. Returns a proxy node if already mounted on the DOM. Proxy
301301
nodes make it so DOM diffing algorithms leave the element alone when diffing. Call this when `arguments` have changed.
302302

303303
### `component.rerender()`
304-
Re-run `.render` using the last `arguments` that were passed to the `.render` call. Useful for triggering internal component renders if internal state has changed, but arguments have not. Bypasses the `.update` function. Don't call this when the component is not mounted in the page (e.g. `if (!this.element)`).
304+
Re-run `.render` using the last `arguments` that were passed to the `render` call. Useful for triggering component renders if internal state has change. Arguments are automatically cached under `this._arguments` (🖐 hands off, buster! 🖐). The `update` method is bypassed on re-render.
305305

306306
### `component.element`
307307
A [getter](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get)

0 commit comments

Comments
 (0)