New React SmartForm package

Hey all,

I just published my first real package: https://atmospherejs.com/ffxsam/react-smartform

I wanted to have a smart, reusable set of form & form elements that I could use throughout an app I’m working on. It’s still a work in progress of course! Ideas and contributions are welcome.

3 Likes

This looks very interesting. I’ve been wondering about an alternative to Autoform for React.

Is there a way to run the validations once they’re submitted on the server too?

Thanks @ciwolsey! Validations are client-side only. But you can do your own validations of course, on the server side, e.g.:

Meteor.methods({
  formSubmitted(formData) {
    check(formData, Object);
    check(formData.firstName, String);
    // etc.
  }
});