DEV Community

Discussion on: Learning ReasonReact Step by Step Part: 2

Collapse
 
yawaramin profile image
Yawar Amin

Hi Sophia, you are on the right track. I agree with John that Belt.Map.String seems like the right data structure here. It's an immutable data structure that offers get/set/update/merge operations, pretty much exactly what you need.

Regarding file structure, I wrote something about that, which you may find helpful: dev.to/yawaramin/a-modular-ocaml-p...