Skip to content

Commit

Permalink
include possible breakage
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Mar 6, 2019
1 parent 523a865 commit 024d668
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ Here are some highlights ✨:
- Every component except `Dialog`, `MenuList`, `Modal`, `Popover` and `Tabs` forward
their `innerRef` (#14536).

This is implemented by using `React.forwardRef`. This affects the internal component
tree and display name and therefore might break shallow or snapshot tests.
`innerRef` will no longer return a ref to the instance
(or nothing if the inner component is a function component) but a ref to its root component.
The corresponding API docs list the root component.
Expand Down

0 comments on commit 024d668

Please sign in to comment.