# \[ANN\] Release 0.5.4 of \`Fmlib\_browser\`

**URL:** <https://discuss.ocaml.org/t/ann-release-0-5-4-of-fmlib-browser/12184>\
**Category:** Ecosystem\
**Created:** [May 19, 2023, 12:30pm UTC](https://discuss.ocaml.org/t/ann-release-0-5-4-of-fmlib-browser/12184 "2023-05-19T12:30:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hbr](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/hbr/32/4813_2.png) [@hbr](https://discuss.ocaml.org/u/hbr)\
**Post date:** [May 19, 2023, 12:30pm UTC](https://discuss.ocaml.org/t/ann-release-0-5-4-of-fmlib-browser/12184/1 "2023-05-19T12:30:18Z")

</div>

It is a pleasure to announce the release 0.5.4 of `Fmlib_browser`. The library helps to write interactive webapplications running in the browser. It is quite easy to write interactive webapplications with the help of this library. The user code is purely descriptive (aka functional) which avoids many common errors.

You can find some simple examples [here](https://hbr.github.io/fmlib/odoc/fmlib_browser/index.html) and in [the overview](https://hbr.github.io/fmlib/odoc/fmlib_browser/doc_overview.html).

Install the library with

```
opam install fmlib_browser

```

The new release 0.5.4 fixes some bugs in the initial version 0.5.3 and has some minor added functionality.

---

<div class="post-metadata">

**Author:** ![benjamin-thomas](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/benjamin-thomas/32/3966_2.png) [@benjamin-thomas](https://discuss.ocaml.org/u/benjamin-thomas)\
**Post date:** [May 20, 2023, 6:25pm UTC](https://discuss.ocaml.org/t/ann-release-0-5-4-of-fmlib-browser/12184/2 "2023-05-20T18:25:34Z")

</div>

I’m really glad you’re creating this lib!

One of my goals in learning OCaml is to create a type-safe bridge between OCaml and Elm as I really like Elm for the frontend, I think its architecture makes a lot of sens.

Anyhow, this is gonna take me quite some time as I have a lot to learn but with you’re lib, I can see some options opening up, I may be able to do full-stack OCaml in a very nice way instead!

Here’s my implementation of the temp converter (with a few variations), for anyone not familiar with this architecture and wanting extra reference points.

> <https://github.com/benjamin-thomas/7guis/blob/5cf8b7b993bed6c6a89bb09dee3021b9406f1c55/ocaml/jsoo_fmlib_browser/temp_converter/src/main.ml>

N.B. I’ve got a hot-reload setup in that repo, though a little hacky.

---

<div class="post-metadata">

**Author:** ![yawaramin](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/yawaramin/32/3384_2.png) [@yawaramin](https://discuss.ocaml.org/u/yawaramin)\
**Post date:** [May 20, 2023, 7:36pm UTC](https://discuss.ocaml.org/t/ann-release-0-5-4-of-fmlib-browser/12184/3 "2023-05-20T19:36:00Z")

</div>

There’s a pretty faithful port of the Elm architecture into ReScript: [GitHub - darklang/rescript-tea: The Elm Architecture for Rescript](https://github.com/darklang/rescript-tea)

---

<div class="post-metadata">

**Author:** ![benjamin-thomas](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/benjamin-thomas/32/3966_2.png) [@benjamin-thomas](https://discuss.ocaml.org/u/benjamin-thomas)\
**Post date:** [May 21, 2023, 11:00am UTC](https://discuss.ocaml.org/t/ann-release-0-5-4-of-fmlib-browser/12184/4 "2023-05-21T11:00:52Z")

</div>

Thanks for the heads up, Interesting technology!

Overall I’m pretty sure I prefer OCaml, syntax wise and for its consistency.  
The tooling is very good though, good to know there are options!

I ported over the same exercise to Rescript here if anyone’s interested and wants to do a quick compare (it’s almost a word for word clone of the original):

> <https://github.com/benjamin-thomas/7guis/blob/6d61bc610c3cd2adf4659810e4e91eabd51bcc35/rescript/temp_converter/src/TempConverter.res>

---

<div class="post-metadata">

**Author:** ![yawaramin](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/yawaramin/32/3384_2.png) [@yawaramin](https://discuss.ocaml.org/u/yawaramin)\
**Post date:** [May 21, 2023, 12:42pm UTC](https://discuss.ocaml.org/t/ann-release-0-5-4-of-fmlib-browser/12184/5 "2023-05-21T12:42:37Z")

</div>

ReScript is a fork of the OCaml compiler and also supports OCaml syntax.
