Skip to content

Add JSX#1

Open
ethanniser wants to merge 4 commits into
tigerabrodi:mainfrom
ethanniser:jsx
Open

Add JSX#1
ethanniser wants to merge 4 commits into
tigerabrodi:mainfrom
ethanniser:jsx

Conversation

@ethanniser

@ethanniser ethanniser commented Apr 27, 2025

Copy link
Copy Markdown

This PR replaces the manual Arwaal.createElement calls with JSX
It uses the React types for JSX.IntrinsicElements and their props

It should work- like all of the JSX transpiles correctly to the exact same Arwaal.createElement calls and render is called

but I dont see anything which is weird- maybe you can tell why?


I also changed some broken import statements in the tests

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.

1 participant