def _get_all_hooks_internal(self) -> dict[str, VarData | None]:
        """Get the reflex internal hooks for the component and its children.

        Returns:
            The code that should appear just before user-defined hooks.
        """
Get the reflex internal hooks for the component and its children.

        Returns:
            The code that should appear just before user-defined hooks.
        
reflex/components/component.py