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

use mitosis target to generate IDs for components #3419

Open
mfranzke opened this issue Nov 5, 2024 · 0 comments
Open

use mitosis target to generate IDs for components #3419

mfranzke opened this issue Nov 5, 2024 · 0 comments
Labels
🍄🆙improvement New feature or request

Comments

@mfranzke
Copy link
Member

mfranzke commented Nov 5, 2024

Maybe we can fix issues with SSR with framework realteded IDs like this with useTarget:

useTarget(
{
vue: ()=> useId(),
react:  ()=> useId(),
}
)

How do we handle different imports?

@mfranzke mfranzke added the 🍄🆙improvement New feature or request label Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍄🆙improvement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant