Claude Code - Why did author use React Hook Form and Zod?

My interaction with Claude Code had it choose React Router, and I am glad it did!

Based on my research of React Router -vs- React Hook Form, React Router makes so much more sense than using React Hook form for the simple forms needed on the Helpdesk app.

This choice is concerning to me since I believe the author should have known better to not choose React Hook Form and Zod. I hope my doubts are unfounded as I progress through the course, since I am investing a lot of time into this.

I had my Claude Code create a simple FormField that can show a red border and an error message, and am using that with the React Router.