Travis Griggs
11/22/2023, 7:22 PMTopScreen(appStateSortOfThing) {
...
IntermediateGroupingSection(appStateSortOfThing.subChunkOfState) {
...
SmallerGroupingSection(subChunkOfState.smallerChunk) {
...
WeeGroupingSection(smallChunk.weeChunk) {
...
SinglePurposeComposable(weeChunk.singleThing)
}}}}
And then my design evolves, and there's some simple piece of state I need in the leaf node (e.g. a boolean flag) that I need from top level state collection. I don't mind adding the parameter to the SinglePuproseComposable. It represents the evolved design and keeps it isolated from "pass pointer to big model all around". What IS frustrating, is that I have to go add another paremter to each of those intermediate composables, which are often just wrappers around Boxes, Columns, or Rows. Is there a better way? Or is that just the way of it?vide
11/22/2023, 8:03 PMvide
11/22/2023, 8:03 PMweeChunk
in this case