The first example on that guide is a little misleading because the userAPI should not be dispatching anything, which means nothing gets updated. This causes the call to locally return undefined, resulting in a "Not Found" error. May as well go with the less misleading userQueries.
The first example on that guide is a little misleading because the
userAPI
should not be dispatching anything, which means nothing gets updated. This causes the call tolocally
return undefined, resulting in a "Not Found" error. May as well go with the less misleadinguserQueries
.