LearnNewsExamplesServices
Frontmatter
id4393
titlecomponent.Base: getReference()
stateClosed
labels
enhancementstale
assignees[]
createdAtMay 8, 2023, 6:44 PM
updatedAtSep 12, 2024, 4:29 AM
githubUrlhttps://github.com/neomjs/neo/issues/4393
authortobiu
commentsCount3
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtSep 12, 2024, 4:29 AM

component.Base: getReference()

Closed v8.1.0 enhancementstale
tobiu
tobiu commented on May 8, 2023, 6:44 PM

thinking more about the recent change from: https://github.com/neomjs/neo/issues/4387

in case a view does not have its own controller, the results can now be different: imagine a parent level controller with child views using the same reference names.

for a clear solution, a component needs to cache references on its own. since we do not want to duplicate code, we will need to extract the logic into a different file. a mixin would be ideal, in case it could support configs or class fields as well (which it does not do yet => limited to methods).

tobiu added the enhancement label on May 8, 2023, 6:44 PM
tobiu
tobiu May 9, 2023, 3:13 PM

i will revert the last changes first, to prevent an inconsistent behavior from prior versions.

tobiu referenced in commit b02b8aa - "component.Base: getReference() #4393" on May 9, 2023, 3:15 PM