How to best deal with ocsigen/eliom incompatibilities with merlin?

ocsigen
merlin
eliom

#1

As far as I understand, merlin can only be configured to work either for client or for server-side Eliom.
What do I need to do in order to configure it for client?
Also, what would be “best practices” in this regard? I presume, splitting files in such a way that only very few (and small) ones have both client and server code?


#2

So for what setup did you finally settle? Where you able to make it somehow work for most of the code? I also saw that you commented here: https://github.com/ocsigen/eliom/issues/532, but that file does not work out of the box. I am getting an Unbound value __eliom__compilation_unit_id__KwWvUI


#3

I learned TypeScript, React and GraphQL :frowning:
Now I only use OCaml for data transforming libraries on the frontend and definitely nothing that has something to do with the DOM.