From acb919d7fca27c12aef80eb1a3128add99144c4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rokas=20Brazd=C5=BEionis?= Date: Tue, 18 Jul 2023 16:29:15 +0300 Subject: [PATCH] docs(angular): update rerender api --- docs/angular-testing-library/api.mdx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/angular-testing-library/api.mdx b/docs/angular-testing-library/api.mdx index 06229c656..0b146f95e 100644 --- a/docs/angular-testing-library/api.mdx +++ b/docs/angular-testing-library/api.mdx @@ -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, {