package server-reason-react

  1. Overview
  2. Docs
Rendering React components on the server natively

Install

Dune Dependency

Authors

Maintainers

Sources

server-reason-react-0.1.0.tbz
sha256=557e215377660a5c48c0494704d3d149ff249d4a5669f1749b393176b963ea05
sha512=cc3dd53dd21d2564ad031ca74552587f4a8200833ec80392fd190a55d7a7f83bec0fc57d2ec0e262c0c3ef2e78a89914872ea1588921c3cb8836e8e5f67b4cef

doc/src/server-reason-react.dom/Dom_storage.ml.html

Source file Dom_storage.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
type t

external getItem : string -> string option = "getItem"
[@@mel.send.pipe: t] [@@mel.return null_to_opt]

external setItem : string -> string -> unit = "setItem" [@@mel.send.pipe: t]
external removeItem : string -> unit = "removeItem" [@@mel.send.pipe: t]
external clear : unit = "clear" [@@mel.send.pipe: t]

external key : int -> string option = "key"
[@@mel.send.pipe: t] [@@mel.return null_to_opt]

external length : t -> int = "length" [@@mel.get]
external localStorage : t = "localStorage"
external sessionStorage : t = "sessionStorage"
OCaml

Innovation. Community. Security.