Skip to content

Commit bf392b9

Browse files
authored
docs(angular): update rerender api (#1280)
1 parent 1828c44 commit bf392b9

File tree

1 file changed

+3
-2
lines changed
  • docs/angular-testing-library

1 file changed

+3
-2
lines changed

docs/angular-testing-library/api.mdx

+3-2
Original file line numberDiff line numberDiff line change
@@ -390,8 +390,9 @@ debug()
390390

391391
### `rerender`
392392

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

396397
```typescript
397398
const {rerender} = await render(Counter, {

0 commit comments

Comments
 (0)