I’m trying to complete the final exercise of: https://ocsigen.org/tuto/6.4/manual/application
I have a color picker, built server-side, which gives me a “hsv” signal (
(int * float * float) Eliom_shared.React.S.t). I already have applied a
map to this signal in order to have rgb representation. This signal is used client-side to choose the color the pen will draw.
The exercise is to add a button to be able to pick a color on an existing canvas. My idea is to “update” the signal when a color is picked. In this page https://ocsigen.org/eliom/6.6/manual/clientserver-react , I see a function is returned along with the signal in order to do that. But here, the toolkit doesn’t provide such a function.
What can I do?