Fulcro troubleshooting 2 - graph connectivity, initial state

Опубликовано: 27 Июль 2026
на канале: Jakub Holý
135
3

A short demonstration of how to verify that your data graph is connected correctly all the way from the root component to the component of interest (the most common problem in Fulcro is that this connection is broken somewhere). We will also see how to check the initial state of the application and learn a little about common errors with the dynamic routing.


*Update*: the solution to the router config problem was


```
:pre-merge (fn [{:keys [data-tree state-map]}]
(assoc data-tree
:br/details-router (merge
(comp/get-initial-state DetailsDisplayRouter)
(get-in state-map (comp/get-ident DetailsDisplayRouter {})))))
```


and is described here https://book.fulcrologic.com/#_compos...