cantierecreativo / redux-bees

A nice, short and declarative way to interact with JSON APIs
592 stars 41 forks source link

Component not re-rendered after query HOC API call finishes #69

Closed rahearn closed 5 years ago

rahearn commented 5 years ago

I'm trying to use the query HOC to populate data in my app. It is properly requesting the data (I can see the request in the Network tab and server logs) but the component's render() method is only called once, before the API call completes, so the prop is still null. Is there a max version of react and/or redux that redux-bees is compatible with?

rahearn commented 5 years ago

Nevermind, this is working.

I missed the implicit return of the perform in the HOC and wasn't returning it from my implementation.