Commit 004134ad authored by Laurent Wouters's avatar Laurent Wouters
Browse files

Adding new application framework

parent ea912901e67f
......@@ -75,7 +75,7 @@ let data_of resource = match resource.data with
(* Type of a rendering function *)
type renderer =
type viewRenderer =
appState
-> ReasonReact.reactElement
......@@ -84,7 +84,7 @@ and view = {
(* The specification of this view *)
specification: viewSpecification;
(* The view rendering function *)
renderer: renderer;
renderer: viewRenderer;
}
(* A registry of views *)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment