From b4a198e9d9cfe3c9fd54d723d776e7e4fea7e7e1 Mon Sep 17 00:00:00 2001 From: Bret Comnes Date: Mon, 4 Sep 2017 13:23:12 -0700 Subject: [PATCH] Update README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 09ab362..95c2e67 100644 --- a/README.md +++ b/README.md @@ -301,7 +301,7 @@ Render the component. Returns a proxy node if already mounted on the DOM. Proxy nodes make it so DOM diffing algorithms leave the element alone when diffing. Call this when `arguments` have changed. ### `component.rerender()` -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)`). +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. ### `component.element` A [getter](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get)