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

Latest commit

 

History

History
47 lines (29 loc) · 1.05 KB

File metadata and controls

47 lines (29 loc) · 1.05 KB

Data Components for React Native

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

Attention: This is an experimental project published under ForceDotComLabs:

  1. work in progress
  2. we need your feedback

Usage:

Import statement:

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

Sobj component JSX code:

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

Setup

add to an existing React Native project:


  npm install https://github.com/ForceDotComLabs/react.force.datacontainer.git --save

Components:

  1. SobjContainer
  2. ScrollRefresh
  3. ListContainer
  4. SearchQueryList
  5. RelevantItems