fict
v0.0.13
Published
Main package for the Fict framework
Downloads
1,193
Readme
fict
Reactive UI with zero boilerplate.
Fict is a UI library where you write plain JavaScript and the compiler figures out the reactivity.
Write JavaScript; let the compiler handle signals, derived values, and DOM updates. It’s a new way to think about UI—not a drop-in replacement for React/Vue/Svelte. The promise is less code and lower cognitive load.
function Counter() {
let count = $state(0)
const doubled = count * 2 // auto-derived, no useMemo needed
return <button onClick={() => count++}>{doubled}</button>
}No useMemo. No dependency arrays. No .value. Just JavaScript.
Usage
npm install fict
# or
yarn add fictYou can visit Fict for more documentation.
