Feel free to test this app in your browser let me know of any issues and also Where and why to use interface or type very confused between these two and also how to use react-hook-form devtools for optimizations
Luke (Taek) Nam
@tnamdevnoteAll comments
- @Ofcl-JavedSubmitted 11 months ago@tnamdevnotePosted 10 months ago
Hello, I'm working on the same challenge, and I came across your solution as I was trying to figure out the best way to define the form state in react. I took a look at your code, and you had
data.ts
file that definesstepsData
for each form, and you also had aPlanSchema
, which seems to be just the simpler version ofstepsData
. I think your code might be a solution to the problem that I'm having, but I would love to know your reasoning behind treatingstepsData
andPlanSchema
separately.0 - @lumiukoSubmitted 11 months ago
Any feedback will be appreciated ✌
@tnamdevnotePosted 11 months agoGreat work! I think you nailed down the accessibility portion. One question that I have is, do you know what aria-controls in the button element used for? I saw that in ARIA guidelines as well but I couldn't really figure out what it actually does in terms of accessibility.
Marked as helpful1