Core Elm-architecture implementation on top of Replicant for Clojure/ClojureScript.
Provides:
component, render) with isolated local statesupdate multimethodfx multimethoddispatch) integrated with Replicant DOM eventsCore Elm-architecture implementation on top of Replicant for Clojure/ClojureScript. Provides: - Component lifecycle management (`component`, `render`) with isolated local states - Global application context shared across all components - Message-based state updates via the `update` multimethod - Side-effect handling via the `fx` multimethod - Centralized message dispatching (`dispatch`) integrated with Replicant DOM events
HTTP side-effect module for Relm built on the Fetch API.
Provides core/fx side effects for making asynchronous HTTP requests (::fetch)
and aborting active requests (::abort). Handles JSON serialization, query parameter
encoding, response header parsing, response body decoding based on Content-Type,
request timeouts, and error handling with automated message dispatching back into Relm.
HTTP side-effect module for Relm built on the Fetch API. Provides `core/fx` side effects for making asynchronous HTTP requests (`::fetch`) and aborting active requests (`::abort`). Handles JSON serialization, query parameter encoding, response header parsing, response body decoding based on Content-Type, request timeouts, and error handling with automated message dispatching back into Relm.
Browser navigation and History API side effects for Relm applications.
Provides core/fx implementations for browser navigation actions:
::navigate-to! Navigate to a new URL via location.assign::replace! Replace current URL without adding a history entry via location.replace::reload! Reload current page via location.reload::back! Move back one step in browser history via history.back::push-state! Push a new entry onto browser history stack via history.pushState::replace-state! Replace current history entry via history.replaceState::go! Navigate by relative delta n via history.goBrowser navigation and History API side effects for Relm applications. Provides `core/fx` implementations for browser navigation actions: - `::navigate-to!` Navigate to a new URL via `location.assign` - `::replace!` Replace current URL without adding a history entry via `location.replace` - `::reload!` Reload current page via `location.reload` - `::back!` Move back one step in browser history via `history.back` - `::push-state!` Push a new entry onto browser history stack via `history.pushState` - `::replace-state!` Replace current history entry via `history.replaceState` - `::go!` Navigate by relative delta `n` via `history.go`
No vars found in this namespace.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |