Increment number for every instance of an element in React
I hope I phrased this question clearly. I have a small recipe app, for the recipe method I want to dynamically add Step 1, Step 2, Step 3 etc. for each step that is passed through via props. The recipe’s steps are passed through as an array of objects: recipeMethod: Array(2) 0: {step_instructions: ‘Boil Water’}… Read More Increment number for every instance of an element in React