Closed gtanzer closed 1 year ago
@domfarolino This is done modulo the type definition for "on navigate callback", which is a TODO for this PR (not for the future).
Got it, thanks. I think the type can just be something like "these steps, which take a foo and a bar" (with the steps defined below). Or if we ever need to set this asynchronously we can just make this super vague like https://html.spec.whatwg.org/multipage/urls-and-fetching.html#lazy-load-resumption-steps.
@domfarolino changed it to just say that the callback is "a series of steps".
Preview | Diff