Interface CreatorOptions

interface CreatorOptions {
    created?: Hook;
    mount?: {
        isHydrate?: boolean;
        isSVG?: boolean;
        rootContainer?: any;
    };
    mounted?: Hook;
    rendered?: Hook;
    rootProps?: null | Record<string, any>;
    serializer?: ((state) => any);
    shouldPrefetch?: ((file, type) => boolean);
    shouldPreload?: ((file, type) => boolean);
}

Properties

created?: Hook
mount?: {
    isHydrate?: boolean;
    isSVG?: boolean;
    rootContainer?: any;
}

Type declaration

  • Optional isHydrate?: boolean
  • Optional isSVG?: boolean
  • Optional rootContainer?: any
mounted?: Hook
rendered?: Hook
rootProps?: null | Record<string, any>
serializer?: ((state) => any)

Type declaration

    • (state): any
    • Parameters

      • state: any

      Returns any

shouldPrefetch?: ((file, type) => boolean)

Type declaration

    • (file, type): boolean
    • Parameters

      • file: string
      • type: string

      Returns boolean

shouldPreload?: ((file, type) => boolean)

Type declaration

    • (file, type): boolean
    • Parameters

      • file: string
      • type: string

      Returns boolean

Generated using TypeDoc