by gitgud · 7y ago · 0 comments
We found it much easier to reason about logic in the code base with having many small dumb components, which didn't have any state or complex functionality. These would be controlled by a few smart parent components to coordinate them.
The result was a lot cleaner. We implemented this on a Web client, but I think the concept would work well in any codebase.... dumb classes are easier to understand
You mean like pure functions?
Perhaps a better term could be pure components maybe?
Funny enough, the coordinator pattern really clicked with me when I wrote Swift apps. Similar concept.