Support function at the form action prop
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- react
- Domain
- frontend
Research direction
Start by locating the form binding and its action prop, then review how the current string-only action is represented. Use the issue's string and function examples to define the supported inputs, and consider the noted breaking-change concern. Done means a form can use a function action while preserving the intended string behavior.
Written by the indexing model from the issue text.
Description
Description
reason-react form still don't support function on the action prop.
Ideas
- The prop could accept polivars (with mel.unwrap) instead of only string (BREAKING_CHANGE):
<form action={`String("/foo")} /> <form action={`Function((formData) => doSomething(formData))} Create a new prop for it. 🙃(Not possible)
- Dominant language
- Reason
- Stars
- 3.3k
- Forks
- 344
- PR merge metrics
- No merged PRs in 30d
Contributor guide
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.
More from reasonml/reason-react
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
reasonml/reason-react#769 · 4 comments · 1 reaction ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
reasonml/reason-react#753 · 1 comment ·
-
docs
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
reasonml/reason-react#717 · 1 comment ·
-
RFC
Difficulty 5/5 Over a week Newbie friendliness 25/100
reasonml/reason-react#698 · 2 reactions ·
-
ppx RFC
Difficulty 5/5 Over a week Newbie friendliness 20/100
reasonml/reason-react#637 · 3 reactions ·
All issues in reasonml/reason-react
Similar issues
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
tvOS
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
bvaughn/react-resizable-panels#751 · 1 comment ·
-
www.wiwo.de OpenN: AdGuard Browser Extension P3: Medium T: Annoyance
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
AdguardTeam/AdguardFilters#242026 ·
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 92/100