Skip to content
Discussion options

You must be logged in to vote

Do you use the Portal component as is and want to modify it? Or you use it as part of another component, like Modal? In first case, you can use createPortal function on your side directly. In the second case, I'd use the key prop.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@chuvashevskii
Comment options

@rtivital
Comment options

Answer selected by chuvashevskii
@chuvashevskii
Comment options

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