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

Question: Deliberately using 2 portal targets with same name #397

Open
dsl101 opened this issue May 8, 2023 · 0 comments
Open

Question: Deliberately using 2 portal targets with same name #397

dsl101 opened this issue May 8, 2023 · 0 comments

Comments

@dsl101
Copy link

dsl101 commented May 8, 2023

I couldn't see anything specific on this, but I have a use case where I'd like the same portal content be displayed in 2 different places. I've created 2 <portal-target name="xyz"> components, and of course currently getting the Target xyz already exists warning. I was about to disable that using the option, but wanted to check that this use is valid, or is it likely to cause other issues?

For what it's worth, it seems to be working fine...

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

No branches or pull requests

1 participant