Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
bcomnes committed Sep 4, 2017
1 parent 2698d33 commit b4a198e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b4a198e

Please sign in to comment.