ui-ts
A tiny-tiny UI library that uses JSX and fp-ts
to make for easy small UIs.
Installation
Using the CLI
See CLI.
Manual installation
Install, alongside fp-ts
, ts-adt
, and immer
:
> pnpm install ui-ts fp-ts ts-adt immer
Setup a TSConfig like the following:
{
"compilerOptions": {
"module": "commonjs",
"target": "es2016",
"jsx": "react",
"jsxFactory": "UI.element",
"jsxFragmentFactory": "UI.fragment",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"skipLibCheck": true,
"strictBindCallApply": true
}
}
And setup some sort of build process.
Documentation
See docs.