Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions docs/angular-testing-library/api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -390,8 +390,9 @@ debug()

### `rerender`

Create and render a new instance of the component. Input properties that are not
defined are cleared. To keep them use [change](#change).
Changes the input properties of the existing component instance by following
Angular component lifecycle events (i.e. `ngOnChanges` is called). Input
properties that are not defined are cleared.

```typescript
const {rerender} = await render(Counter, {
Expand Down