);
};
$mount(App, '#app');
```
## What Gets Compiled
Your JSX:
```jsx
```
Compiles to:
```javascript
$html('div', { class: "container" },
$html(Button, {}, "Click")
)
```
## Without Build Step (CDN)
SigPro automatically injects `Div()`, `Button()`, `Span()`, and all other HTML tag helpers globally when loaded via CDN. `Fragment` is also available.
```html
```
## Template Literals Alternative (htm)
For a JSX-like syntax without a build step, use `htm`:
```javascript
import { $, $mount } from 'https://unpkg.com/sigpro';
import htm from 'https://esm.sh/htm';
const html = htm.bind($html);
const App = () => {
const count = $(0);
return html`
` `` |
> [!TIP]
> **Recommendation:** Use JSX for large projects, CDN tag helpers (`Div()`, `Button()`) for simple projects, or htm for buildless projects that want HTML-like syntax.