Posts on Architecture.
3 posts tagged "Architecture".
One hardcoded album was fine. The tenth would have broken the page. So /creative stopped hardcoding anything.
The first version of the creative hub had all ten NAPA tracks written directly into the page component. That works for one album. It falls apart at ten. The rebuild made the page a reader of files, not a holder of content.
I could have built this twice. ModuleOrderStore is why I didn't.
Making Home and Accounts modules user-rearrangeable could have meant two separate order stores, one per screen. ModuleOrderStore — a @MainActor singleton mirroring an existing PaletteStore pattern — is the reason it's one. The device QA round on AnF confirmed the ordering engine held; six other issues confirmed the QA was necessary.
An MDX content pipeline grows three kinds of complexity
Naïve MDX setups (one file in, one HTML out) hit three walls as they scale. Routing complexity. Authoring complexity. Citation complexity. Each grows non-linearly with post count; each has a single high-leverage fix.

