BuilderIO / BuilderIO/mitosis

How will you handle scenarios where JSX is lossy?

Open
#4 9 comments 0 reactions 0 assignees View on GitHub
core idea
Dominant language
TypeScript
Stars
14.4k
Forks
671
PR merge metrics
No merged PRs in 30d

Description

Like for example, a differentiation between attributes and arguments?

In jsx, there is only the 'prop', which react uses for both html attributes and component arguments

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the compiler's JSX handling and how it represents props across component outputs. Decide how the system should preserve the distinction between HTML attributes and component arguments, then define tests covering both cases before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.