module Eliom_shared : sig..end
This module implements shared (i.e., client-server) versions of the React and ReactiveData libraries.
Client-side signals and data are type-wise and behavior-wise equivalent to those provided by the underlying React and ReactiveData libraries. Thus, all the operations from React and ReactiveData apply. We provide extended versions of these libraries.
val to_signal : init:'a -> 'a React.S.t Lwt.t -> 'a React.S.t
to_signal ~init s converts the Lwt-wrapped signal s into a regular signal with initial value init.
module Value : Eliom_shared_sigs.VALUEwith type +'a t = 'a
Accessing shared values
Shared implementation of React; client-side behavior is like standard React
module FakeReactiveData : sig..end
This is a dummy ReactiveData module that allows us to refer to client-side ReactiveData types on the server side, without actually linking against ReactiveData.
module ReactiveData : sig..end
Shared implementation of ReactiveData; client-side behavior is like standard ReactiveData