Skip to content

HTML controls #2993

Answered by beerose
kennycharles asked this question in Q&A
Nov 21, 2021 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

So MUI is a component library that gives you a set of components to use, and there are libraries like react-final-form, react-hook-form, or formik (you can choose when setting up a Blitz project) that provide form state management, and tools to work with forms. You can set initial values, validate easily (zod validation is passed in validate prop), and do much more with these libraries. However, it's not mandatory to use them. The tradeoff is that you'd need to handle it all by yourself (state, validation, etc). That's why the most common way is to wrap you custom inputs in react-final-form (or there lib) utilities, so you can take full advantage of it.

You might be interested in this lib…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@kennycharles
Comment options

@beerose
Comment options

@kennycharles
Comment options

Answer selected by kennycharles
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants