Cuttlefish SDK Reference - v0.1.0
    Preparing search index...

    Function CuttlefishProvider

    • CuttlefishProvider - Required wrapper for using Cuttlefish React hooks

      Provides centralized configuration and a singleton RowCache shared across all queries. This enables better real-time characteristics - updates from one live query instantly benefit all other queries.

      Parameters

      Returns Element

      <CuttlefishProvider
      endpoint="http://localhost:4141"
      upstreamId="my-database"
      >
      <App />
      </CuttlefishProvider>