def _get_all_app_wrap_components(
        self, *, ignore_ids: set[int] | None = None
    ) -> dict[tuple[int, str], Component]:
        """Get the app wrap components for the custom component.

        Args:
            ignore_ids: A set of IDs to ignore to avoid infinite recursion.

        Returns:
            The app wrap components.
        """
        ignore_ids = ignore_ids or set()
        component = self.get_component()
        if id(component) in ignore_ids:
            return {}
        ignore_ids.add(id(component))
        return self.get_component()._get_all_app_wrap_components(ignore_ids=ignore_ids)
Get the app wrap components for the custom component.

        Args:
            ignore_ids: A set of IDs to ignore to avoid infinite recursion.

        Returns:
            The app wrap components.
        
reflex/components/component.py