How to create a React form that submits to a Spring Boot backend (with validation)
Channel: vaadinofficial
Date: 20/09/2023

Hilla 2.2 added a useForm hook to build forms. You can define validation rules on your Java object and have Hilla enforce them both in the React UI and when saving to the server. 

0:00 - Intro
0:12 - Backend service
0:43 - Setting up a form with useForm()
1:45 - Binding the model to fields
2:45 - Reading in the form value
3:10 - Adding validation rules
4:08 - Server-side validation on save