As seen in https://github.com/react-hook-form/error-message/pull/87#discussion_r714144172, `as` does not take precedence over `render` if the value provided to it is a component rather than an element. The snapshot generated in https://github.com/react-hook-form/error-message/pull/87 is not correct, and should be fixed.