I\'m trying to make a set of inputs that can be duplicated or removed.
I\'ve found and used a combination of this : https://jsfiddle.net/69z2wepo/36745/ and this (becaus
add count in the initial state.
this.state = { inputList: [] , count :0};
Then remove this line const count = 0;
const count = 0;
Since you're using count as your key change this also to.
I made a jssfiddle for another question, the concept is similar so it might be helpful.