Post

So excited by this. Related, but kind of general question: how stable is the API? I've been going through the GitHub issues for how I might implement a "rollback" after an intercept, and it looks like there have been a few of solutions: commit: 'after-transition', event.commit(), & precommitHandler.

Do these things become a bit more stable once they are baseline? (and also, how might I determine support for precommitHandler? will `if (NavigationPrecommitController) work?`

Depends what you mean by stable. It would be a web compat issue to change their behaviour now, so that's unlikely to happy. Additions may be made, such as precommitController.addHandler(). self.NavigationPrecommitController is a good feature test.

0 reposts0 likes

No replies yet.