Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

Element ref is not set #28

Open
stevemao opened this issue Jul 11, 2016 · 2 comments
Open

Element ref is not set #28

stevemao opened this issue Jul 11, 2016 · 2 comments

Comments

@stevemao
Copy link
Member

stevemao commented Jul 11, 2016

<Comp ref='myRef' /> will not set the ref to "myRef"; it will be undefined.

@stevemao
Copy link
Member Author

Similar to #26

@bradleyayers
Copy link
Member

Additionally <Comp ref={(elem) => … } /> is passed null rather than the DOM element.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants