Fork me on GitHub
#fulcro
<
2022-09-07
>
sheluchin15:09:14

The browser back/forward buttons in my RAD app are not working correctly. Usually back just takes me back to the application landing page. I have html5 history installed as in the RAD demo repo. Can someone suggest how I might troubleshoot it? I'm browsing through the code and adding taps but so far I don't see the path to figuring out what's wrong.

tony.kay18:09:53

Never working right, or not working “right” under certain circumstances?

tony.kay18:09:32

The demo app should work properly. You can compare your setup to that.

sheluchin18:09:15

It seems to be certain circumstances. What parts of the app atom do you typically inspect when you try to troubleshoot routing issues like this? I'm looking at:

(->> SPA
       com.fulcrologic.rad.routing.history/active-history
       com.fulcrologic.rad.routing.history/-current-route)

njj20:09:01

After upgrading to the latest FC2 and porting from new-fulcro-client to make-fulcro-client, all my df/loads now throw an error. Any ideas?

njj20:09:24

(defn new-client-with-defaults []
  (fc/make-fulcro-client {:client-did-mount on-app-started
                          :networking {:remote (net/fulcro-http-remote {:url "/api"})
                                       :request-middleware secured-request-middleware}}))

njj20:09:38

(df/load app :web-env nil) Uncaught Error: :web-env is not ISeqable

njj14:09:22

fc2 still 😅