See if we can get rid of explicit `dispatch` in the views
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- fsharp, react
- Domain
- frontend
Research direction
Start by reviewing how dispatch is currently passed into views and the available Fable type-provider support. Investigate whether a generic React library can support a DSL that removes the dispatch argument, and define completion as views no longer requiring explicit dispatch without losing access to needed libraries.
Written by the indexing model from the issue text.
Description
People keep finding interesting ways to misuse the dispatch function we are passing into views.
Eliminating it has been on my wishlist from day one, unfortunately it means a DSL on top of React and all the libs we may want to use in the views.
Up till now I couldn't see a way around it, but maybe with type providers now working on Fable we can take a generic React lib and produce a DSL that would let us remove dispatch argument from the views?
- Dominant language
- F#
- Stars
- 112
- Forks
- 20
- Avg merge
- 19h 52m
- Merged PRs (30d)
- 1
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 elmish/react
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
help wanted
Difficulty 3/5 1-2 days Newbie friendliness 42/100
Similar issues
-
Browser Waiting for: Product Owner
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
getsentry/sentry-javascript#24577 · 1 comment ·
-
1.0.0-alpha2 Type/Improvement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
wso2/dpdp-accelerator#272 ·
-
light
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
aemdemos/patients-stryker#253 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
clerk/javascript#9852 ·
-
bug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
amponce/archive-movie-browser#165 ·