Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request is for a JSX Compiler.
It's in a separate category from JavaScript because this compiler only handles JSX rather than running as a full JS compiler. The compiler understands some JS syntax (enough to handle JSX), however JS code ends up in separate "js" nodes in the AST.
The reason it exists is because it allows for compiling/transpiling of JSX to JS in a web browser at run-time without a build process and at less than 7 kB the compiler is very small and fast.
Documentation
https://github.com/dataformsjs/dataformsjs/blob/master/docs/jsx-loader.md
Main Site with Examples
This main site includes additional components and non-React code so I link to the main JSX Loader Doc on this Pull Request.
https://dataformsjs.com/en/
Additional Site with more Examples
https://awesome-web-react.js.org/
Code Sample
The code sample I used is from the homepage of the main React Site. The only change I made was to change
TODO
text toTo Do List
so that the file does not show up if searching forTODO
comments in this project.https://reactjs.org/
Screenshot