americanexpress / americanexpress/react-albus

Loop through steps and render them?

Open
#86 3 comments 0 reactions 0 assignees View on GitHub
stale-issue
Dominant language
JavaScript
Stars
1.1k
Forks
88
PR merge metrics
No merged PRs in 30d

Description

Hi!

I'm trying to loop through a bunch of steps and render them, but they are never rendered.

` (



{steps.map((stepdata, index) => {
return (



)
})}


)}
/>
`

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?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the mapped and example from the issue, then inspect how React Albus handles children passed to Steps and whether repeated CustomStep components render. Done means identifying whether the loop is supported and confirming that each step renders with its corresponding data.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.