resourcerer v0.8.0 Release Notes

Release Date: 2020-08-01 // over 3 years ago
  • ⚡️ Key withResources updates (brought up to par with useResources):

    • 🚚 All resources are listened on; the {listen: true} option has been removed entirely
    • Models aren't simply read from the cache—they're now kept in state, which means we don't need withLoadingOverlay trickery

    For both withResources and useResources

    • 🚚 Implements automatic recaching for models that start client-side as new (without an id) and are then saved, gaining a server-provided id. resourcerer now removes the initial model from its cache key and places it in its new cache key based on id.