Recieve props from parent component and save it in child component state
Tue Oct 19 2021 23:27:28 GMT+0000 (Coordinated Universal Time)
Saved by @jofinhel #ja #react.js
It will map the data from the prop and add it to options state, using spread operator without mutating the option state
Comments