DataContainer components are designed to simplify Salesforce REST API usage with React Native apps. Developers can retrieve data with Salesforce REST API using declarative JSX markup.
See Dreamhouse App for sample code
- work in progress
- we need your feedback
Import statement:
import { Sobj } from 'react.force.datacontainer';
Sobj component JSX code:
<Sobj id={accountId} type='Account'>
<YourComponent />
</Sobj>
add to an existing React Native project:
npm install https://github.com/ForceDotComLabs/react.force.datacontainer.git --save