We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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?
The text was updated successfully, but these errors were encountered:
This issue is stale because it has been open 30 days with no activity.
Sorry, something went wrong.
I believe the issue is that stepData in your example is initially an empty array and albus does not re-render. This will be fixed in v3
stepData
No branches or pull requests
Hi!
I'm trying to loop through a bunch of steps and render them, but they are never rendered.
`<Route render={({ history }) => (
`
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?
The text was updated successfully, but these errors were encountered: