Nutrient Web SDK
    Preparing search index...

    Interface SlotHelpers

    Helpers passed as the third argument to a UI.SlotConfigurationCallback.

    • requestUpdate — call this to ask the SDK to invoke the slot's render function again. Use it from inside event handlers, async callbacks, or any imperative code that updates state the slot reads. Calls are coalesced inside a single React render pass.
    interface SlotHelpers {
        requestUpdate: () => void;
    }
    Index

    Properties

    Properties

    requestUpdate: () => void

    Ask the SDK to invoke this slot's render function again with the current params.

    Call it from event handlers, async callbacks, lifecycle hooks, or any other imperative code that updates state the slot reads — but not synchronously from within render itself, which would cause an update loop. Re-renders are coalesced: calling it many times synchronously results in a single render invocation.