Module Incr_dom.Start_app
val start : ?debug:bool -> ?stop:unit Async_kernel.Deferred.t -> bind_to_element_with_id:string -> initial_model:'model -> (module App_intf.S with type Model.t = 'model) -> unitstartinitializes a new application, including starting up Async and waiting for the initial creation of the DOM.bind_to_element_with_iddetermines which element the UI will be bound in to. In other words, the DOM returned byApp.viewwill replace that element.The application loop kicked off by
startruns primarily in response to therequest_animation_frameevents kicked off by the browser, but it will also run approximately once a second, even ifrequest_animation_framenever runs, as is the case in some browsers when the pane an application is running in is in the background.