react-component / react-component/field-form
List render props add whole list value support
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1k
- Forks
- 286
- Avg merge
- 4d 16h
- Merged PRs (30d)
- 1
Description
https://github.com/react-component/field-form/blob/bc56d70cd291b64c12cffac8bb265f268d630864/src/List.tsx#L107-L124
children of List could get all values from render props
<List>
{(fields, values, operations) => (...)}
</List>
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in src/List.tsx at lines 107-124 and inspect how List's children render props are currently called. Update the render-props contract so children can receive the whole list values as the second argument, matching the shown usage. Done means a List child can access fields, values, and operations through its render arguments.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100