Documentation / @warp-drive/core / reactive / ReactiveResource
Class: ReactiveResource
Defined in: warp-drive-packages/core/src/reactive/-private/record.ts:55
A class that uses a the ResourceSchema for a ResourceType and a ResourceKey to transform data from the cache into a rich, reactive object.
This class is not directly instantiable. To use it, you should configure the store's instantiateRecord
and teardownRecord
hooks with the matching hooks provided by this package.