• Robert Knight's avatar
    Allow function props to be invoked during a digest cycle · 50b0996b
    Robert Knight authored
    Allow function props passed to Preact components wrapped with
    `wrapReactComponent` to be invoked when a digest cycle is already active
    for some reason. In that case using `$scope.$apply` triggers an error.
    
    This scenario is rare, as callbacks are usually invoked in response to
    events that happen outside of Angular, but changes made by Angular code
    can indirectly cause Preact components to invoke callbacks. For example,
    in layout effects which run at the end of a `render` call.
    50b0996b
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...
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...