Isomorphic form-handling for React