• 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
..
components Loading commit data...
directive Loading commit data...
filter Loading commit data...
services Loading commit data...
store Loading commit data...
templates Loading commit data...
test Loading commit data...
util Loading commit data...
build-thread.js Loading commit data...
cross-origin-rpc.js Loading commit data...
events.js Loading commit data...
ga.js Loading commit data...
get-api-url.js Loading commit data...
host-config.js Loading commit data...
index.js Loading commit data...
live-reload-client.js Loading commit data...
markdown-commands.js Loading commit data...
media-embedder.js Loading commit data...
raven.js Loading commit data...
render-markdown.js Loading commit data...
search-client.js Loading commit data...
service-config.js Loading commit data...
ui-constants.js Loading commit data...
virtual-thread-list.js Loading commit data...
websocket.js Loading commit data...