I dont know if anyone has tried this, but we could, in THEORY, wrap a Form component with the WithEndpoint HOC, and have it submit the form data using the onSubmit event handler. Is it worth doing this? Or should we more likely have the developer handle a put request of multiple values using a WithEndpoint Wrapped Button, and have that button's value be constructed from some states?
I dont know if anyone has tried this, but we could, in THEORY, wrap a Form component with the WithEndpoint HOC, and have it submit the form data using the onSubmit event handler. Is it worth doing this? Or should we more likely have the developer handle a put request of multiple values using a WithEndpoint Wrapped Button, and have that button's value be constructed from some states?