Replies: 2 comments 12 replies
-
My vote is for Quo components is that we used closed by default, and we allow open maps for previous components that would take a lot of refactoring to clean up immediately 👍 |
Beta Was this translation helpful? Give feedback.
-
Note: Quo Components Only Utilizing closed maps implies foregoing the ability to drill props down (i.e., passing an object to children rather than explicitly passing keys). Though it necessitates additional lines of code, I fully endorse closed maps. I advocate for their consistent use. It's acknowledged that implementing them mandates refactoring each component call when writing the schema. |
Beta Was this translation helpful? Give feedback.
-
We had a discussion a while back in the #malli discord channel which we didn't finish. Best if we continue it in a more "centralized" place to collect our opinions and arrive at a decision that can go into our guidelines.
for open maps:
for closed maps:
Beta Was this translation helpful? Give feedback.
All reactions