Remove error ref to the 'render' function (#8781)
Remove error ref to the 'render' function (#8781)

What is the `render` function of a functional component?
(cherry picked from commit ebd83e809e876cbeb1d7aca16fd317c0bbc7b636)

with-git/react,with-git/react,with-git/react,with-git/react,with-git/react,with-git/react,with-git/react