You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -301,7 +301,7 @@ Render the component. Returns a proxy node if already mounted on the DOM. Proxy
301
301
nodes make it so DOM diffing algorithms leave the element alone when diffing. Call this when `arguments` have changed.
302
302
303
303
### `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.
305
305
306
306
### `component.element`
307
307
A [getter](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get)
0 commit comments