rescript-lang / rescript-lang/rescript
JSX preserve mode depends on ReactDOM
Nobody has claimed this yet.
- Dominant language
- OCaml
- Stars
- 7.5k
- Forks
- 485
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 55
Description
While helping a user in the forum, we caught an compiler error in this situation:
- jsx preserve mode
- no ReactDOM as depdendency
- no custom jsx module
- (rescript 12.0.1)
I am not familiar with his, nor with any other use case, so I don't have a repo ready or the exact error message, but could reproduce it.
For reference: https://forum.rescript-lang.org/t/simple-way-to-convert-jsx-to-dom/7085/2
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
No file or test is named. Start by reproducing the compiler error with ReScript 12.0.1 in JSX preserve mode, without ReactDOM or a custom JSX module, using the linked forum discussion for context. Done means this configuration compiles or produces the intended behavior without requiring ReactDOM.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100