Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forward refs instead of use innerRef property #166

Open
vitonsky opened this issue May 24, 2022 · 1 comment
Open

Forward refs instead of use innerRef property #166

vitonsky opened this issue May 24, 2022 · 1 comment
Labels
enhancement New feature or request important

Comments

@vitonsky
Copy link
Owner

Use innerRef only for special cases when you have to specify ref source in object like this:
<Component childComponent={{innerRef}}>

@vitonsky vitonsky added enhancement New feature or request important labels May 24, 2022
@vitonsky
Copy link
Owner Author

We have to fix this problem for every modifier in package. Any code wrapped to withHOCConstructor must use forwardRef

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request important
Projects
None yet
Development

No branches or pull requests

1 participant