vgno / redux-fetcher

Simple isomorphic fetch for Redux

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Strange behaviour: comparison between action-identifier and state key when creating default bailout

jorgenfar opened this issue · comments

In my application, I was surprised to see that my fetcher would repeatedly fetch data even though the force flag was set to false. I inspected the code and realised that my fetch action identifiers are converted to lowercase, while state key IDs are not. This results in, for instance, camelcase Redux state keys (reducer names) never creating a correct default bailout.

#11 Solves this issue.