1.0.9 • Published 9 months ago

myxa v1.0.9

Weekly downloads
-
License
ISC
Repository
-
Last release
9 months ago

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)
1.0.9

9 months ago

1.0.8

10 months ago

1.0.7

10 months ago

1.0.6

10 months ago

1.0.5

10 months ago

1.0.4

10 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago