jsx-runtime icon indicating copy to clipboard operation
jsx-runtime copied to clipboard

[Experimental] Extremely lightweight JSX runtime (<3KB) to write JSX without React in TypeScript or JavaScript.

Results 3 jsx-runtime issues
Sort by recently updated
recently updated
newest added

Hi. Great library, thank for your effort. I have a suggestion (but won't make a PR myself). This chunk of code would support data attributes: ```javascript if(name.startsWith("data-")) { // @ts-ignore...

enhancement

The render method accepts jsx, and something like text nodes, but plain text should be supported too. Otherwise it's neccesary to wrap text (or numbers) inside tags, like: `render(Hi, target);`...

bug

IMO, render should replace the current content of the target element. Like: `container.replaceChildren(elem)` Instead of: `container.appendChild(elem)` Otherwise, when I want to refresh content I see elements adding up instead of...

bug