Skip to content

Exposing NodeRef from ComponentRef<T> #365

Answered by luoxiaozero
myypo asked this question in Q&A
Discussion options

You must be logged in to vote

NodeRef is associated with DOM and requires the implementation of ElementType. ComponentRef is only used to export the internal methods of the component and does not need to implement ElementType.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@myypo
Comment options

@luoxiaozero
Comment options

Answer selected by myypo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants