0.1.4 • Published 11 months ago

@fune/fune v0.1.4

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

Forget about boring objects and HTML. Build scalable web pages with declarative functions.

Example

Counter

import { E, signal } from "fune";

export const Counter = () => {
  const count = signal(0);
  const increase = () => (count.value = count.value + 1);
  const decrease = () => (count.value = count.value - 1);

  return E("div", {}, [
    E("h1", {}, ["Counter"]),
    E("p", {}, ["Count: ", count]),
    E("button", { onclick: increase }, ["Increment"]),
    E("button", { onclick: decrease }, ["Decrement"]),
  ]);
};
0.1.4

11 months ago

0.1.3

12 months ago

0.1.2

12 months ago

0.1.1

12 months ago

0.1.0

12 months ago

0.0.6

12 months ago

0.0.5

12 months ago

0.0.4

12 months ago

0.0.3

12 months ago

0.0.2

12 months ago

0.0.1

12 months ago