Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⚛️ Add DataFormsJS JSX Loader #631

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ConradSollitt
Copy link

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 to To Do List so that the file does not show up if searching for TODO comments in this project.
https://reactjs.org/

Screenshot
AST Explorer with DataFormsJS JSX Loader

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant