Clarification on Layer Initialization Order in Effect Typescript

const LiveLayer = Layer.mergeAll(
    TracingLive,
    SystemInfo.Default,

    // WARN: provide devtools *before* tracing layers;
    // UNINTUITIVE: right side of Layer.mergeAll = initialized first but merged last
    DevToolsLive,
);

WRT that Effect devtools note/requirement (from README): provide devtools *before* tracing layers ...

Is my comment of UNINTUITIVE: right side of Layer.mergeAll = initialized first but merged last the "right way to think" about that requirement? EDIT: no ❌ this just coincidentally worked but is wrong/conflating merging with provide; see thread.
Was this page helpful?