-
Notifications
You must be signed in to change notification settings - Fork 90
Open
Labels
Description
Hi!
I'm trying to loop through a bunch of steps and render them, but they are never rendered.
`<Route render={({ history }) => (
<Wizard history={history}>
<Steps>
{steps.map((stepdata, index) => {
return (
<Step key={index} id={`step${index}`}>
<CustomStep
key={index}
data={stepdata}
/>
</Step>
)
})}
</Steps>
</Wizard>
)}
/>
`
If I try to render a single component like in the examples it works perfectly.
Is it a problem looping through steps? Or is React Albus not too happy with a single component being rendered multiple times with different data?