react-component / react-component/field-form
validateOnly 会触发 Field reRender, 是否是必要的
Open
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/v1.31.0/docs/examples/validateOnly.tsx
从代码执行看
表单校验触发了Field reRender,即使开启validateOnly配置
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
The issue points to docs/examples/validateOnly.tsx; start there and trace the validation path that produces the Field reRender. Determine whether this rerender is expected when validateOnly is enabled, then confirm the intended behavior before changing the implementation or its documentation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100