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

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?

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:, but that file does not work out of the box. I am getting an Unbound value __eliom__compilation_unit_id__KwWvUI

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.