QwikDev / QwikDev/qwik

`{() => {...}}` in jsx is neither supported nor does it throw

Open
#8,957 2 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.