DEV Community

Discussion on: Handling Forms in Svelte

Collapse
 
roblevintennis profile image
Rob Levin

Nice tutorial on how to build the form validations "low level" from scratch. I see at the end you add a paragraph about available libraries, but wouldn't it be mentioning (or do you agree), that a library is going to get you:

  • bug fixes
  • more complete implementation
  • handle edge cases you didn't think of
  • be more maintainable especially if you need to hire devs that already know the abstraction

Of course yes roll your own is also with some benefits:

  • potentially lighter-weight
  • immediate understanding of the code
  • easiest to customize

I suppose I think this could be addressed -- which do you prefer and why?