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

Support ref attribute on virtual components #15

Open
lanther opened this issue Jan 29, 2018 · 0 comments
Open

Support ref attribute on virtual components #15

lanther opened this issue Jan 29, 2018 · 0 comments

Comments

@lanther
Copy link
Member

lanther commented Jan 29, 2018

If a component is rendered virtually, refs don't work. (i.e. for ref={ x }, x is never assigned). We need to update the virtualRender method to call the ref attribute function with the instance, when it's constructed.

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

1 participant