1.0.9 • Published 2 years ago

myxa v1.0.9

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years 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

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago