LearnNewsExamplesServices
Frontmatter
id6111
titlecomponent.Base: afterSetIsLoading() => findIndex() => findLastIndex
stateClosed
labels
enhancement
assigneestobiu
createdAtNov 14, 2024, 6:07 PM
updatedAtNov 14, 2024, 6:08 PM
githubUrlhttps://github.com/neomjs/neo/issues/6111
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtNov 14, 2024, 6:08 PM

component.Base: afterSetIsLoading() => findIndex() => findLastIndex

Closed v8.1.0 enhancement
tobiu
tobiu commented on Nov 14, 2024, 6:07 PM

I know this one is close to overengineering :)

IF a component has a really big amount of direct child items (e.g. root UL tag which 100s of LI child nodes), we can find the target node a tiny bit faster in case we are iterating backwards over the array, since we are adding the load mask as the last child item.

tobiu added the enhancement label on Nov 14, 2024, 6:07 PM
tobiu assigned to @tobiu on Nov 14, 2024, 6:07 PM
tobiu referenced in commit e0360cc - "component.Base: afterSetIsLoading() => findIndex() => findLastIndex #6111" on Nov 14, 2024, 6:08 PM
tobiu closed this issue on Nov 14, 2024, 6:08 PM