Sometimes we want to know if an entity has attempted a load. We currently have isLoading and loadedAt, but neither of those tell us if a load failed. The easiest way to set this value would be if isLoading === null, because it changes to true or false after the first attempt.
I'm sure we'll want to add this to the facade too.
Sometimes we want to know if an entity has attempted a load. We currently have
isLoading
andloadedAt
, but neither of those tell us if a load failed. The easiest way to set this value would be ifisLoading === null
, because it changes totrue
orfalse
after the first attempt.I'm sure we'll want to add this to the facade too.