Firebase query action with no results terminates action chain

I've been running into an issue where I have a series of actions take place upon page load. One of the actions is a backend firebase query for a list of documents. The issue is that when this query returns no results, the rest of the action chain doesn't run. I checked this in multiple ways, one of which by removing all actions after the query action except for a simple state update action. The state update action did not execute, telling me that the actions after a query with no results don't run.

I'm assuming this isn't intended but maybe I'm wrong?

Is there a way around this? I've tried adding conditional logic after the query based on if the query has results or not but since it is after the query, it doesn't run.

10
4 replies