I moved from storing the data in the state to a model on the for, component to make it easier to manipulate. However, adding dynamic array data won't be easy anymore.
I could pass down some sort of add function or I could see about making the form a higher order function and wrapping the component instead of the component containing the form.
I moved from storing the data in the state to a model on the for, component to make it easier to manipulate. However, adding dynamic array data won't be easy anymore.
I could pass down some sort of add function or I could see about making the form a higher order function and wrapping the component instead of the component containing the form.