Commit 79c8796e928e27d43251c3e9aea06e697fa93eb3
leave notes about how to upgrade blogIndex
mix irving committed on 11/28/2017, 1:58:37 AMParent: dfa8dcc1b8dc80fea753df44f2c9faa9c5eb88ef
Files changed
app/page/blogIndex.js | changed |
app/page/blogIndex.js | ||
---|---|---|
@@ -30,8 +30,13 @@ | ||
30 | 30 | const type = msg.value.content.type |
31 | 31 | return type === 'post' || type === 'blog' |
32 | 32 | }) |
33 | 33 | ), |
34 | + // FUTURE : if we need better perf, we can add a persistent cache. At the moment this page is fast enough though. | |
35 | + // See implementation of app.html.context for example | |
36 | + // store: recentMsgCache, | |
37 | + // updateTop: updateRecentMsgCache, | |
38 | + // updateBottom: updateRecentMsgCache, | |
34 | 39 | render |
35 | 40 | }) |
36 | 41 | |
37 | 42 | return h('Page -blogIndex', {title: strings.home}, [ |
Built with git-ssb-web