0.0.11 • Published 2 years ago

smllr v0.0.11

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

🦕 smllr

npm version

Frontend framework

Work in progress - not ready for production 🚧

const Counter = component(($) => {
  const count = $.state(0);
  const doubleCount = $.computed(() => count.value * 2);

  return [
    htm("div", null, "Count is: ", () => count.value),
    htm("div", null, "Double count is: ", () => doubleCount.value),
    htm(
      "button",
      {
        onClick: () => {
          count.value++;
        },
      },
      "+"
    ),
  ];
});
0.0.11

2 years ago

0.0.10

2 years ago

0.0.8

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago