LearnNewsExamplesServices
Frontmatter
id3299
titlecontroller.Base: construct() => trigger a first `onHashChange()` if needed
stateClosed
labels
enhancement
assigneestobiu
createdAtJul 18, 2022, 1:56 PM
updatedAtJul 18, 2022, 6:06 PM
githubUrlhttps://github.com/neomjs/neo/issues/3299
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJul 18, 2022, 6:06 PM

controller.Base: construct() => trigger a first onHashChange() if needed

Closed v8.1.0 enhancement
tobiu
tobiu commented on Jul 18, 2022, 1:56 PM

with the ability to lazy load controllers and view controllers, it is quite likely that a controller gets imported after a first route has been set.

so, triggering onHashChange() in case there is a last route stored inside the history (util.HashHistory) can simplify our lives a bit.

tobiu added the enhancement label on Jul 18, 2022, 1:56 PM
tobiu assigned to @tobiu on Jul 18, 2022, 1:56 PM
tobiu referenced in commit 90ca4cd - "controller.Base: construct() => trigger a first onHashChange() if needed #3299" on Jul 18, 2022, 6:05 PM
tobiu closed this issue on Jul 18, 2022, 6:06 PM