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

PCUI are not valid JSX components when imported to a Preact project #380

Open
sr229 opened this issue Dec 5, 2024 · 2 comments
Open

PCUI are not valid JSX components when imported to a Preact project #380

sr229 opened this issue Dec 5, 2024 · 2 comments

Comments

@sr229
Copy link

sr229 commented Dec 5, 2024

Describe the bug

We are trying to use PCUI on our preact project, however, it seems that trying to import it right now makes it think the import is not a valid JSX component.

To Reproduce
Steps to reproduce the behavior:

  1. Start a base Preact project with TypeScript
  2. Install PCUI (ensure @preact/compat is installed)
  3. Use at least one component in the project
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
image

Desktop (please complete the following information):

  • OS: macOS Seqouia
  • Browser Edge
  • Version 120

Additional context
Add any other context about the problem here.

@marklundin
Copy link
Member

What version of React are you using @sr229?

@sr229
Copy link
Author

sr229 commented Dec 9, 2024

What version of React are you using @sr229?

As of this writing, we're using the latest one -- 10.17.1.

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

2 participants