0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
router/docs
Leonardo Montini 28aa8fb04e
feat(react-router): improve the blocker functionality for use with custom UI (#1649)
* feat: return async resolver from useBlocker hook

* feat: pass async resolvers to children on Block component

* fix: types and always reset promise

* docs: update example with custom UI

* refactor: namings

* docs: toggle between custom ui and default

* feat: expose status and refactor hook props

* feat: support current API

* feat: custom blocker should take precendence over the manual promise blocker

* test: unit test on condition to avoid breaking changes with the new API

* docs: deprecate old syntax and update the docs

* docs: create useBlocker API reference

* fix: deprecated interface
History 2024-05-25 13:49:08 +02:00
..
framework/react feat(react-router): improve the blocker functionality for use with custom UI (#1649) 2024-05-25 13:49:08 +02:00
config.json fix(start): add experimental support for route manifest and ssr route manifest usage 2024-05-23 11:59:40 -06:00