The Fun Framework

playground slide

An experimental homegrown JS framework.

[![Build Status](https://img.shields.io/github/actions/workflow/status/crutchcorn/the-fun-framework/build.yml?branch=main)](https://github.com/crutchcorn/the-fun-framework/actions/workflows/validate.yml?query=branch%3Amain) [![Test Status](https://img.shields.io/github/actions/workflow/status/crutchcorn/the-fun-framework/test.yml?branch=main&label=tests)](https://github.com/crutchcorn/the-fun-framework/actions/workflows/validate.yml?query=branch%3Amain) [![Pre-release](https://img.shields.io/npm/v/the-fun-framework.svg)](https://npm.im/the-fun-framework) [![gzip size](https://img.badgesize.io/https://unpkg.com/the-fun-framework@latest/dist/the-fun-framework.cjs?compression=gzip)](https://unpkg.com/browse/the-fun-framework@latest/dist/the-fun-framework.cjs) [![license](https://badgen.now.sh/badge/license/MIT)](./LICENSE.md)
The goals of this project are: - HTML-first templating - No VDOM - Implicit re-renders (instead of calling an update function manually, "mutate") ## Installation ```shell npm install the-fun-framework ``` ## Usage ```html

Count: {{count.value}}

{{count.value}} is even

``` ```typescript // index.ts import { createState, registerComponent, render } from "the-fun-framework"; function App() { let count = createState( 0 ); function updateCount() { count.value++; } return { count, updateCount } } // Register with the same name as `data-island-comp` App.selector = "App"; registerComponent(App); render(); ```