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

SalesforceLabs/react.force.datacontainer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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