Skip to content
hyphatechPublic

About

SolidJS for modern OCaml.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

199 Commits

Folders and files

Repository files navigation

solidtype

SolidJS for modern OCaml. Fast, accessible and reactivity-safe. Kobalte and HeroUI included.

ci release license OCaml 5.5+ Hypha Stack

Documentation: hyphatech.github.io/solidtype

Quickstart

opam repo add hypha https://github.com/hyphatech/opam-repository.git
opam install solidtype
module Jsx = Solidtype.Jsx
module Solid = Solidtype.Solid

let make () =
  let count, set_count = Solid.create_signal 0 in
  <button type_=`button on_click=(fun _ -> Solid.update set_count succ)>
    "Clicked " (fun () -> Jsx.int (Solid.get count))
  </button>

Setting up dune and Vite to build it: Getting Started.

Licence

MIT, copyright Hypha Technologies Ltd. See LICENSE.

About

SolidJS for modern OCaml.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages