Store nav
results in a promise to allow reuse #15
Labels
No Label
bug
code-quality
documentation
duplicate
enhancement
feature
flair
invalid
on-hold
release
third-party bug
tooling
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: fwdekker.com/template#15
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The header retrieves the
nav
data from the API. On/Tools
, these data are separately fetched, causing an unnecessary request. Thenav
data should be stored as a promise in, say,navCache
so that other pages can reuse it if they callednav
first. Note that the cache should contain the raw JSON, no unpacked or formatted data.