aurelia / aurelia/ui-virtualization
Detect Map mutations
- Dominant language
- TypeScript
- Stars
- 89
- Forks
- 44
- PR merge metrics
- No merged PRs in 30d
Description
Besides the problem in #54 when binding an empty Map it seems that any additions to a Map instance using `map.set()` are not detected. Are maps supported with virtual repeat? I thought that was part of abstract repeat strategy. The only way I've been able to get anything to show with a map is to go through a value converter that produces an array and even when I do that any changes in the map are not pushed through the value converter.
Contributor guide
Research direction
Start by reading issue #54 and the virtual repeat and abstract repeat strategy behavior around empty Maps. Reproduce additions made with map.set(), then compare direct Map binding with the value-converter-to-array path. Done means Map contents render initially and subsequent mutations propagate through virtual repeat.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100