Options
All
  • Public
  • Public/Protected
  • All
Menu

React Realm Context

Index

Type aliases

ConsumerChild

ConsumerChild: function

Type declaration

Filtering

Filtering: string | any[]

Something to filter the results by.

Omit

Omit: Pick<T, Exclude<keyof T, K>>

A generic type helper which removes one or more properties from an interface.

QueryChild

QueryChild: function

Type declaration

    • (value: IValue<T>): React.ReactChild
    • Parameters

      Returns React.ReactChild

RealmRenderer

RealmRenderer: function

Type declaration

Sorting

Sorting: string | Realm.SortDescriptor | Realm.SortDescriptor[]

Something to sort the results by.

Variables

RealmConnection

RealmConnection: ComponentClass<IRealmConnectionProps> | StatelessComponent<IRealmConnectionProps>

The default RealmConnection, which will get its Realm from the default RealmProvider.

If you're opening multiple Realms create separate contexts using createRealmContext.

RealmConsumer

RealmConsumer: ComponentClass<IRealmConsumerProps> | StatelessComponent<IRealmConsumerProps>

The default RealmConsumer, which will get its Realm from the default RealmProvider.

If you're opening multiple Realms create separate contexts using createRealmContext.

RealmInitializer

RealmInitializer: RealmInitializer

The default RealmInitializer, which will get its Realm from the default RealmProvider.

If you're opening multiple Realms create separate contexts using createRealmContext.

RealmProgress

RealmProgress: ComponentClass<IRealmProgressProps> | StatelessComponent<IRealmProgressProps>

The default RealmProgress, which will get its Realm from the default RealmProvider.

If you're opening multiple Realms create separate contexts using createRealmContext.

RealmProvider

RealmProvider: ComponentClass<IRealmProviderProps> | StatelessComponent<IRealmProviderProps>

The default RealmProvider.

If you're opening multiple Realms create separate contexts using createRealmContext.

RealmQuery

RealmQuery: ComponentClass<IRealmQueryProps<any>> | StatelessComponent<IRealmQueryProps<any>>

The default RealmQuery, which will get its Realm from the default RealmProvider.

If you're opening multiple Realms create separate contexts using createRealmContext.

withRealm

withRealm: withRealm

The default withRealm HOC, which will get its Realm from the default RealmProvider.

If you're opening multiple Realms create separate contexts using createRealmContext.

Functions

Const createRealmContext

  • createRealmContext(): object

Const generateRealmConnection

Const generateRealmConsumer

Const generateRealmInitializer

  • generateRealmInitializer(WrappedConsumer: React.Consumer<IRealmContext>): RealmInitializer

Const generateRealmProgress

Const generateRealmProvider

Const generateRealmQuery

generateWithRealm