Add an official HTML -> JSX online converter
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 11.8k
- Forks
- 7.9k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 11
Description
We should take https://magic.reactjs.net/htmltojsx.htm, update it to output code compatible with React 16 (and make sure it respects the DOM attribute changes in it), and then host it on our website.
Then we can point "invalid DOM property" warnings to the converter, saving everyone new to React the headache of conversion. https://github.com/facebook/react/pull/11576
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
Start by reviewing the existing converter at https://magic.reactjs.net/htmltojsx.htm and the linked React pull request about DOM attribute changes. Determine how the React 16-compatible converter should be hosted on the React website and where invalid DOM property warnings should link to it. Done means the hosted converter produces compatible JSX and the warnings point users to it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- documentation, web-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100