`{() => {...}}` in jsx is neither supported nor does it throw
Open
Nobody has claimed this yet.
DX
optimizer
V2
- Dominant language
- TypeScript
- Stars
- 22.1k
- Forks
- 1.4k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 52
Description
We should determine whether it should throw or be supported as an inline component. https://github.com/QwikDev/qwik/pull/8496
Feedback welcome!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The payload names no files or tests; start by reviewing the JSX behavior described here and the linked PR #8496. Determine whether {() => {...}} should be supported as an inline component or rejected with an error, and verify the chosen behavior before considering the issue done.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100