Built-in support for HOA: Should it stay or should it go? 🎶
See original GitHub issueShould we keep built-in support for HOAs (higher order apps) or shall we encourage you to roll your own DIY solution? For example using a right to left function reducer like compose
or good old f(g(..))
.
The tradeoff is more flexibility & less bytes for one less selling point.
Some facts about HOAs:
- 99% users will never need to author a HOA.
- You don’t even need to use a HOA, but some of you may want to in order to facilitate debugging.
- HOAs are ought to be used primarily for adding debugging functionality to your apps, enable logging of actions / state updates, add Developer Console support (devtools), TimeTravel, HMR, bypass the VDOM to target a different renderer, e.g., a terminal. Other valid uses, but not strongly encouraged include augmenting Hyperapp “core features”, e.g., introducing new app props to enable pre-wired component views, etc.
- HOA is not a unique Hyperapp cooncept. You can create a higher order function of any function in the universe. Hyperapp does go out of its way to make slightly more convenient for you if you want to author a HOA, but we are not bending the laws of physics or being too unique.
- You can do and abuse HOAs as much as you want with this feature built-in or not (in case we decide to remove it).
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:19 (16 by maintainers)
Top Results From Across the Web
9 Things to Know About Homeowner Associations
Most HOAs will require all unit owners to pay a monthly maintenance charge and may also demand special one-time assessments to cover large...
Read more >HOA vs Homeowner Repairs; who is responsible for what?
In most cases, the HOA is responsible for repairing the area without any assistance from the offending party. That's because the unit owner...
Read more >Homeowner Associations (HOA): Everything You Need to Know
Homeowners associations (HOA) set and uphold rules in order to maintain and enhance property value in housing communities—and come with dues ...
Read more >The Pros and Cons of Moving to an HOA Community
You should consider all the pros and cons of HOA living first. Keep in mind that the quality of an HOA varies depending...
Read more >Can You Refuse to Join An HOA When You Just ... - HomeLight
If you buy a house in a neighborhood where a mandatory HOA already exists, then yes, you will have to join the HOA....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Now with init and modules landed in core and with the recent realization that the built-in support for authoring a HOA is not particularly that helpful, I propose we remove this from core and encourage users to DIY! 🔥
Ah ok, got it, thanks! I’m all for removing the support then!