# Function unstable_renderSubtreeIntoContainer

- unstable_renderSubtreeIntoContainer<T>(parentComponent, element, container, callback?): T

- #### Type Parameters

  - T extends Element

  #### Parameters

  - parentComponent: Component<any, {}, any>
  - element: DOMElement<DOMAttributes<T>, T>
  - container: Element
  - `Optional` callback: ((element) => any)
    - - (element): any

      - #### Parameters

        - element: T

        #### Returns any

  #### Returns T

  #### Deprecated

  - Defined in common/temp/node_modules/.pnpm/@types+react-dom@18.3.0/node_modules/@types/react-dom/index.d.ts:53
- unstable_renderSubtreeIntoContainer<P, T>(parentComponent, element, container, callback?): T

- #### Type Parameters

  - P
  - T extends Component<P, any, any>

  #### Parameters

  - parentComponent: Component<any, {}, any>
  - element: CElement<P, T>
  - container: Element
  - `Optional` callback: ((component) => any)
    - - (component): any

      - #### Parameters

        - component: T

        #### Returns any

  #### Returns T

  #### Deprecated

  - Defined in common/temp/node_modules/.pnpm/@types+react-dom@18.3.0/node_modules/@types/react-dom/index.d.ts:62
- unstable_renderSubtreeIntoContainer<P>(parentComponent, element, container, callback?): Component<P, ComponentState> | Element | void

- #### Type Parameters

  - P

  #### Parameters

  - parentComponent: Component<any, {}, any>
  - element: ReactElement<P, string | JSXElementConstructor<any>>
  - container: Element
  - `Optional` callback: ((component?) => any)
    - - (component?): any

      - #### Parameters

        - `Optional` component: Element | Component<P, any, any>

        #### Returns any

  #### Returns Component<P, ComponentState> | Element | void

  #### Deprecated

  - Defined in common/temp/node_modules/.pnpm/@types+react-dom@18.3.0/node_modules/@types/react-dom/index.d.ts:71