LearnNewsExamplesServices
Frontmatter
id4700
titlecomponent.Base: needsParentUpdate() => add all the resolvers of a client cmp
stateClosed
labels
enhancement
assigneestobiu
createdAtAug 11, 2023, 2:40 PM
updatedAtAug 11, 2023, 3:00 PM
githubUrlhttps://github.com/neomjs/neo/issues/4700
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtAug 11, 2023, 3:00 PM

component.Base: needsParentUpdate() => add all the resolvers of a client cmp

Closed v8.1.0 enhancement
tobiu
tobiu commented on Aug 11, 2023, 2:40 PM

Clearly an edge case, but the following comes to mind:

  • A Component gets an promiseUpdate() call while it is updating.
  • It stores resolve inside its own cache
  • Once the update cycle is done, it tries to run the next cycle, but a parent is already scheduled
  • So, passing the cached resolve fn(s) to the parent cache seems logic
tobiu added the enhancement label on Aug 11, 2023, 2:40 PM
tobiu assigned to @tobiu on Aug 11, 2023, 2:40 PM
tobiu referenced in commit c8d58ab - "component.Base: needsParentUpdate() => add all the resolvers of a client cmp #4700" on Aug 11, 2023, 3:00 PM
tobiu closed this issue on Aug 11, 2023, 3:00 PM