From d824527d67aff438869ad2232697526cf39b5959 Mon Sep 17 00:00:00 2001 From: Yevhen Kozlov Date: Sun, 26 May 2019 01:17:05 +0300 Subject: [PATCH] [Docs] explained why need to re-call .find() after update This behavior currently is explained only in 2-to-3 version migration guide. People who never used v2 have small chance to get there. Since it's related to different methods and both mount/shallow suppose this file is better place for describing that. --- docs/common-issues.md | 45 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/docs/common-issues.md b/docs/common-issues.md index 5c8f13810..901851466 100644 --- a/docs/common-issues.md +++ b/docs/common-issues.md @@ -10,6 +10,51 @@ This could be due to a regression, or the feature is not yet implemented. If you certain query syntax, make sure it is implemented first before raising an issue. Here is the list of selectors we currently support: https://github.com/airbnb/enzyme/blob/master/docs/api/selector.md +### Nested component may not be updated after wrapper updates + +Assume we have a simple component with an `` and a `