0.2.0 • Published 10 months ago

@hyunjin/jsx v0.2.0

Weekly downloads
-
License
-
Repository
-
Last release
10 months ago

@hyunjin/jsx

JSX is a JavaScript XML syntax extension that allows you to write HTML-like code in JavaScript. This package provides a tagged template literal that converts JSX into a InMemory DOM.

Installation

npm install @hyunjin/jsx

Example

import jsx from '@hyunjin/jsx';

const $dom = jsx`
  <button onClick=${() => console.log('hello world')}>
    <span>Click me!</span>
  </button>
`;

Reference

0.2.0

10 months ago

0.1.0

10 months ago

0.0.6

10 months ago

0.0.5

10 months ago

0.0.4

10 months ago

0.0.3

10 months ago

0.0.2

10 months ago

0.0.1

10 months ago