Tilia approaching 2.0 release, feedback welcome

Hi everyone, I just finished setting up the website for tilia: tiliajs.com.

For those not in the know, it is a state management library written in ReScript for TypeScript and ReScript.

A lot of work has been put to go from the first experiment in v1.0 to this more mature v2.0:

  • Allow to “connect” separate objects and signals (no more “single state tree”)
  • Simpler “useTilia()” for react integration
  • Lots of edge cases fixed
  • Addition of the powerful computed function for cached computed values
  • Addition of signal and store for FRP style
  • Complete documentation and comparison with other tools on the website

It is still very small (8 KB minified) and should be very fast.

All code samples on the website are in TypeScript and ReScript.

Please let me know if you spot anything wrong or weird, in particular with the ReScript part of the library and examples.

let vibing = tilia({
  vibes: "immaculate" 🌈
})

@react.component
let make = () => {
  useTilia()
  <div>{React.string(vibing.vibes)}</div>
}

let elevateVibes = () => vibing.vibes = "legendary" ✨
6 Likes

Your website “todoapp” links are not working (404)