Javascript – Change an input and reflact change on several other inputs with React
I have 19 inputs and when one of them is changed, all the others reflect the change with a calculation. <input value={mph} onChange={(e) => cmph(e.target.value, setKph, setMps)} <input value={kph} onChange={(e) => ckph(e.target.value, setMph, setMps)} <input value={mps} onChange={(e) => cmps(e.target.value, setKph,…