Behaves a lot like application from the Browser package, with a few additions.
load replaces init and returns a task that will return your initial model and command.failCmd can be used to send any error that results from the load task through a port.loadingView can take flags and return a loading view.errorView can take any error that results from load and displays an error message.An alias for the Browser.Program that gets produced from this package which makes it easier to add type annotations for your programs.
Behaves a lot like element from the Browser package, with a few additions.
loadreplacesinitand returns a task that will return your initial model and command.failCmdcan be used to send any error that results from theloadtask through a port.loadingViewcan take flags and return a loading view.errorViewcan take any error that results fromloadand displays an error message.