LearnNewsExamplesServices
Frontmatter
id4037
titleutil.HashHistory: push() => ignore duplicate entries
stateClosed
labels
enhancement
assigneestobiu
createdAtFeb 12, 2023, 9:26 PM
updatedAtFeb 12, 2023, 9:26 PM
githubUrlhttps://github.com/neomjs/neo/issues/4037
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtFeb 12, 2023, 9:26 PM

util.HashHistory: push() => ignore duplicate entries

Closed v8.1.0 enhancement
tobiu
tobiu commented on Feb 12, 2023, 9:26 PM

while the browser-based hashchange event won't trigger for changes to the same value, other internal logic could do this.

one such example is controller.Application:

        me.importApp(path).then(module => {
            module.onStart();

            // short delay to ensure Component Controllers are ready
            config.hash && setTimeout(() => HashHistory.push(config.hash), 5);
        });
tobiu added the enhancement label on Feb 12, 2023, 9:26 PM
tobiu assigned to @tobiu on Feb 12, 2023, 9:26 PM
tobiu referenced in commit 8605cba - "util.HashHistory: push() => ignore duplicate entries #4037" on Feb 12, 2023, 9:26 PM
tobiu closed this issue on Feb 12, 2023, 9:26 PM