• Robert Knight's avatar
    Simplify root thread generation in top-level UI components · 1fb8488c
    Robert Knight authored
    Since an Angular digest cycle is triggered whenever Redux store state
    changes, we can simplify the top-level component controllers in the UI
    by making `vm.rootThread` a method which generates the top-level thread
    when called.
    
    Since `rootThread.thread` memoizes based its input, thread recalculation
    won't happen more often than necessary.
    
    This change should also make it easier to migrate these components to
    Preact/React in future.
    1fb8488c
Name
Last commit
Last update
..
annotation-share-dialog.html Loading commit data...
annotation-thread.html Loading commit data...
annotation-viewer-content.html Loading commit data...
annotation.html Loading commit data...
excerpt.html Loading commit data...
help-panel.html Loading commit data...
hypothesis-app.html Loading commit data...
markdown.html Loading commit data...
share-dialog.html Loading commit data...
sidebar-content.html Loading commit data...
sidebar-tutorial.html Loading commit data...
stream-content.html Loading commit data...
tag-editor.html Loading commit data...
thread-list.html Loading commit data...