Hand-built MUI forms vs. SurveyJS: one multi-step form built both ways

A developer built the same multi-step MUI form twice, once with react-hook-form and Zod and once with the SurveyJS Form Library plus its MUI theme adapter. Hand-assembled MUI forms typically combine react-hook-form for state, Zod for validation, and a Stepper for pages, which works but requires significant glue code. The alternative describes the form as JSON that a library renders while matching the app's MUI styling. The author applied the same change request to both versions and measured the results to compare them. The post comes from the SurveyJS team, and the author says the accompanying repo lets readers verify the numbers and notes where SurveyJS is the weaker choice.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in