flexsurfer / re-frisk

Take full control of re-frame app
https://flexsurfer.github.io/conduit-re-frisk-demo/
456 stars 29 forks source link

Fix issue with trying to delta reitit route tables #66

Closed lsenjov closed 2 years ago

lsenjov commented 2 years ago

I'm storing reitit routes in the re-frame db, and they're causing issues. I think they implement the IMap protocol, but not the Ifn protocol, so map? returns true, but when trying to use them as a function they fail.

The error message is a particularly weird a.call is not a function in ff.

This makes delta use an explicit get instead of an implicit map function call, which fixes the issue.