We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 511e1c5 commit 3ec9e97Copy full SHA for 3ec9e97
src/core/event/index.js
@@ -8,8 +8,9 @@ import { scrollIntoView, scroll2Top } from './scroll';
8
* route change it re-initializes the events because the sidebar is re-rendered
9
* each time we go to a new page.
10
*/
11
-// TODO @trusktr, this should need to re-initialize events, and the sidebar
12
-// should not be re-rendered each time.
+// TODO @trusktr, this should not need to re-initialize events, and the sidebar
+// should not be re-rendered each time we navigate to a new page unless there is
13
+// a new sidebar.md file for that page.
14
export function eventMixin(Base = class {}) {
15
return class extends Base {
16
$resetEvents(source) {
0 commit comments