Forms validation with react (formless with react)

I’m looking for library like formless (with async validations and everything) but specifically for react or react-basic

  1. Is this Lumi library released already https://medium.com/fuzzy-sharp/building-a-type-safe-embedded-dsl-for-form-components-with-validation-e7ffaaf537e4 ?
  2. Are there formless for react https://github.com/thomashoneyman/purescript-halogen-formless , or it’s better to use https://github.com/ajnsit/purescript-formless-independent ?
1 Like

It is available as part of our lumi-components library (https://github.com/lumihq/purescript-lumi-components/) which includes a lot of other things. However, even if that’s not directly useful to you, it should provide a reference implementation.

1 Like

This is what I was looking for) thx!

There is no Formless for React, though it is possible to convert it. It’s a lot of work, though, and it’s unclear whether you’d be better off with Lumi’s form tooling or binding to a React library like Formik. I haven’t done it simply because of the maintenance burden.

1 Like