diff --git a/package-lock.json b/package-lock.json index 6c15efa1..ae5d9d64 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4,7 +4,6 @@ "requires": true, "packages": { "": { - "name": "Swate", "dependencies": { "@nfdi4plants/exceljs": "^0.3.0", "bulma": "^1.0.1", diff --git a/src/Client/Client.fs b/src/Client/Client.fs index 7ee323ee..7850f0fe 100644 --- a/src/Client/Client.fs +++ b/src/Client/Client.fs @@ -60,6 +60,7 @@ let ARCitect_subscription (initial: Model) : (SubId * Subscribe) l open Elmish.Debug open Elmish.HMR #endif +open Elmish.React //+:cnd:noEmit Program.mkProgram Init.init Update.update View @@ -69,7 +70,7 @@ Program.mkProgram Init.init Update.update View #endif |> Program.withSubscription ARCitect_subscription |> Program.toNavigable (parsePath Routing.Routing.route) Update.urlUpdate -|> Program.withReactSynchronous "elmish-app" +|> Program.withReactBatched "elmish-app" #if DEBUG //|> Program.withDebuggerCoders CustomDebugger.modelEncoder CustomDebugger.modelDecoder |> Program.withDebugger