React Executor - v0.0.24
    Preparing search index...

    Interface SSRExecutorManagerOptions

    Options provided to the SSRExecutorManager constructor.

    interface SSRExecutorManagerOptions {
        devtools?: boolean;
        executorFilter?: (executor: Executor) => boolean;
        keySerializer?: (key: any) => any;
        nonce?: string;
        plugins?: (undefined | null | ExecutorPlugin)[];
        stateStringifier?: (state: ExecutorState) => string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    devtools?: boolean

    If true then executors are registered in the devtools extension.

    true
    
    executorFilter?: (executor: Executor) => boolean

    Filters executors that must be hydrated on the client with the state that was accumulated during SSR.

    By default, only executors that were fulfilled during SSR are hydrated on the client.

    Type declaration

      • (executor: Executor): boolean
      • Parameters

        • executor: Executor

          The executor to check.

        Returns boolean

        true if the executor must be hydrated on the client, or false otherwise.

    keySerializer?: (key: any) => any

    Serializes executor keys.

    The serialized key form can be anything. If you want to use object identities as executor keys, provide an identity function as a serializer.

    Type declaration

      • (key: any): any
      • Parameters

        • key: any

          The key to serialize.

        Returns any

    JSON.stringify
    
    nonce?: string

    A nonce string to allow hydration scripts under a script-src Content-Security-Policy.

    plugins?: (undefined | null | ExecutorPlugin)[]

    Plugins that are applied to all executors.

    stateStringifier?: (state: ExecutorState) => string

    Stringifies an executor state before it is sent to the client.

    Type declaration

    JSON.stringify