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

Bug: JSX precompile lowercases component props #2539

Closed
marvinhagemeister opened this issue Jun 24, 2024 · 1 comment
Closed

Bug: JSX precompile lowercases component props #2539

marvinhagemeister opened this issue Jun 24, 2024 · 1 comment
Labels
bug Something isn't working.
Milestone

Comments

@marvinhagemeister
Copy link
Collaborator

import * as MyIsands from "./some-island.tsx"

const foo = <MyIslands.Counter monthDates={2} />

is turned into:

import * as MyIsands from "./some-island.tsx"

const foo = <MyIslands.Counter monthdates={2} />

This is a bug in the precompile transform and only seems to occur with expression component names.

@marvinhagemeister
Copy link
Collaborator Author

Resolved by denoland/deno_ast#258 . Will be part of the next Deno release > 1.44.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working.
Projects
None yet
Development

No branches or pull requests

1 participant