:route/segmentStatus: backlog Priority: P1 Created: 2026-02-18 Owner: conductor
The prior draft incorrectly treated :route/path as a vector/pattern mechanism with placeholder params in path segments.
For this codebase, we want a simpler and clearer contract:
_p payload handling.To make that explicit, the API should use :route/segment (simple string) instead of :route/path.
:route/path is deprecated for routing URL customization in this subsystem.:route/path and :route/segment are present, :route/segment wins.:route/path is encountered so teams can remove it._p handling.:route/segment on rstate and istate:
:route/segment, default to current target-name-derived segment behavior:route/segment when present, otherwise default segment._p query handling.src/main/com/fulcrologic/statecharts/integration/fulcro/ui_routes.cljc - carry route segment metadatasrc/main/com/fulcrologic/statecharts/integration/fulcro/route_url.cljc - segment chain composition/matchingsrc/main/com/fulcrologic/statecharts/integration/fulcro/ui_routes_options.cljc - optional route segment option key (if desired)Guide.adoc - replace :route/path guidance with :route/segment semanticssrc/test/com/fulcrologic/statecharts/integration/fulcro/url_sync_headless_spec.cljc - URL behavior tests:route/segment when present_p param decoding/encoding path unchanged.:route/segment.:route/segment keep current URL behavior:route/segment overrides URL segment for that state_p, not path placeholdersCan you improve this documentation?Edit on GitHub
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 |