myxa

1.0.9 • Public • Published

MYXA

Mixing together all the worst elements of the most popular frameworks to create something uniquely terrible. Why? Because I can.

Installation

Generally, using this package is a bad idea. But if you really want to, you can install it with:

npm install myxa

Or, you can use it with a CDN:

<script src="https://unpkg.com/myxa"></script>

Usage

import { Render, Mount, useSignal, Watch } from "myxa"

const App = () => {
  const count = useSignal(0)
  const increment = () => count.value++
  const render = Render(
    `
  <div>
    <h1>Count: ${count.value}</h1>
    <button @click="increment">Increment</button>
  </div>
  `,
    { count, increment }
  )
  return Watch(render, count)
}

Mount(App, document.body)

Dependencies (0)

    Dev Dependencies (2)

    Package Sidebar

    Install

    npm i myxa

    Weekly Downloads

    19

    Version

    1.0.9

    License

    ISC

    Unpacked Size

    45.2 kB

    Total Files

    19

    Last publish

    Collaborators

    • jessepence