const { register, handleSubmit } = useForm(); const firstNameRef = useRef(); const onSubmit = data => console.log(data); return ( <form onSubmit={handleSubmit(onSubmit)}> <input name="firstName" ref={(e) => { register(e) // hook-form register firstNameRef.current = e // manually assign your ref }} /> ref={ref}ã§æ¸¡ãããã®ã«â¦ã react-final-formã®ãã¡ãªãã render propsãåå¿è ã«ã¯é£ããã®ã§ã¯ãªããï¼ã¨ããã³ã¡ã³ããããã¤ããã£ãã åºæ¬çã«render
{{#tags}}- {{label}}
{{/tags}}