June 23, 2020
How to set state with a dynamic key name?
If you are using ES6 or the Babel transpiler to transform your JSX code then you can accomplish this with computed property names.
If you are using ES6 or the Babel transpiler to transform your JSX code then you can accomplish this with computed property names.