Skip to content

add support for forwardRef function naming - #45

Open
townofdon wants to merge 1 commit into
grommet:masterfrom
townofdon:forward-ref-support
Open

add support for forwardRef function naming#45
townofdon wants to merge 1 commit into
grommet:masterfrom
townofdon:forward-ref-support

Conversation

@townofdon

Copy link
Copy Markdown

Awesome package! I found an edge case where components wrapped with forwardRef were not displaying correctly. I tested and the following change fixes this issue, at least for named functions.

https://reactjs.org/docs/forwarding-refs.html#displaying-a-custom-name-in-devtools

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant