Skip to content

Alessandro/flatten mounts into host reducerid list [Namespaces Part 5]#5069

Draft
aasoni wants to merge 2 commits into
alessandro/typescript-mounted-reducer-callfrom
alessandro/flatten-mounts-into-host-reducerid-list
Draft

Alessandro/flatten mounts into host reducerid list [Namespaces Part 5]#5069
aasoni wants to merge 2 commits into
alessandro/typescript-mounted-reducer-callfrom
alessandro/flatten-mounts-into-host-reducerid-list

Conversation

@aasoni
Copy link
Copy Markdown
Contributor

@aasoni aasoni commented May 19, 2026

Description of Changes

  • For all module mounts in a module generate reducer ids for each of the module's reducers by "flattening" the mounts recursively.

For a root module with reducers [A, B], mount "auth" with reducers [C] and submount "baz" with reducers [D]:

ReducerId Reducer
0 A
1 B
2 C (auth)
3 D (auth/baz)
  • Resolve reducer names containing namespaces (e.g. auth/C) to the appropriate reducer id

API and ABI breaking changes

Expected complexity level and risk

Testing

@aasoni aasoni changed the base branch from master to alessandro/typescript-mounted-reducer-call May 19, 2026 11:26
@aasoni aasoni force-pushed the alessandro/flatten-mounts-into-host-reducerid-list branch from be147e6 to ad2dda3 Compare May 19, 2026 11:47
@aasoni aasoni force-pushed the alessandro/flatten-mounts-into-host-reducerid-list branch from 996a4e9 to 7cdbe66 Compare May 19, 2026 13:02
@aasoni aasoni changed the title Alessandro/flatten mounts into host reducerid list [Namespaces Part 4] Alessandro/flatten mounts into host reducerid list [Namespaces Part 5] May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant