Skip to content
This repository was archived by the owner on Jan 19, 2024. It is now read-only.

Latest commit

 

History

History
22 lines (14 loc) · 526 Bytes

File metadata and controls

22 lines (14 loc) · 526 Bytes

SobjContainer

Retrieves Sobject data and caches it to SmartStore and updates child components.

See Dreamhouse App for sample code

Usage:

Import statement:

import { SobjContainer } from 'react.force.datacontainer';

SobjContainer component JSX code:

<SobjContainer id={accountId} type='Account'>
<YourComponent />
</SobjContainer>