Fork me on GitHub
#re-frame
<
2020-12-23
>
skykanin23:12:22

Trying to use https://github.com/superstructor/re-frame-fetch-fx effect handler which wraps the js fetch api, but for some reason I keep getting this error "nth not supported on type PersistentArrayMap" with a callstack that isn't very helpful. After some debugging I've figured out that something must be wrong with my "fetch-pokemon2" effect which is supposed to run all the effect in the list associated with the :fx keyword. If I replace :fetch-pokemon2 with my :test effect which only runs the first effect generated from the list in :results body it works just fine. Am I using :fx incorrectly?

skykanin23:12:31

the map returned from :fetch-pokemon2 is of this form