React Compiler + TypeScript example should run compiler on `.ts` files as well as `.tsx`
@chenjiahan is already working on this.
Since Oct 10, 2025.
Assessment
This issue has not been assessed yet.
Description
Regarding this example: https://github.com/rspack-contrib/rstack-examples/blob/main/rspack/react-compiler-babel-ts/rspack.config.js
This only runs the compiler on .tsx files, however hooks are commonly defined in .ts files, so the compiler should be applied to those as well.
cc @chenjiahan
- Dominant language
- TypeScript
- Stars
- 168
- Forks
- 47
- Avg merge
- 3h 45m
- Merged PRs (30d)
- 11
Contributor guide
No contributing guide indexed for this repository
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.
More from rstackjs/rstack-examples
-
Difficulty 3/5 1-2 days Newbie friendliness 30/100
rstackjs/rstack-examples#416 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
rstackjs/rstack-examples#356 · 6 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
rstackjs/rstack-examples#231 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
rstackjs/rstack-examples#190 ·
-
PR welcome
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
rstackjs/rstack-examples#144 ·
All issues in rstackjs/rstack-examples
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
ontola/atomic-server#1625 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
melgarafael/DeskcommCRM#1451 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
-
bug via-triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bot:ai-assisted component:compact-js status:untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
midnightntwrk/midnight-sdk#403 ·