def _get_all_dynamic_imports(self) -> set[str]:
        """Get dynamic imports for the component.

        Returns:
            The dynamic imports.
        """
        if self.rendered_as_shared:
            return set()
        return self.component._get_all_dynamic_imports()
Get dynamic imports for the component.

        Returns:
            The dynamic imports.
        
reflex/components/component.py