* fix: route masking, preload and index routes for `from` invariant checkout
- routesByPath doesn't include branches, they are deduped with index routes
therefor I am using flatRoutes
- preload redirects should not include from automatically as it should be explicit
- declarative route masking should be pass from because from for route masking does
not assert a location
* tests: add tests for search params
* fix: allow trailing slashes by using matchpathname and use _fromLocation for preloading and beforeLoad
* fix: ensure that trailingSlashes don't break path matching
* chore: this wasn't on purpose
* fix: make `removeTrailingSlash` account for basepath
* test: tests for basepath
* refactor: consolidate how we handle basepath replacing
* test: matrix tests with different basepaths for utils
* refactor: revert basereplace
* test(react-router): check in component-land about redirects
* test(react-router): do the same for the beforeLoad and loader spots
* chore: whoops
* test: make sure the pathnames are checked
* test(react-router): initial tests for checking the route context
* chore: some comments so I know where I'm at
* test(react-router): make sure that context modification works
* chore: remove the element ids to simplify things
* chore: use simple naming for this stuff
* test(react-router): making sur the mock fn is only called once
* fix: `from` was being ignored when the pathname included params or a pathless route
* tests: change description of test to match current location
* fix: apply changes to useNavigate and redirect, also add more tests
* chore: inline looseRoutesByPath
* Run server within Github CI
* Give unique package name
* Set proper shas for affected packages
* Move start server command to playwright config
* Remove test:e2e
* Move up replay installation, remove `test:e2e` script
* Add e2e targets
* Empty commit
* Empty commit
* Hardcode public version of REPLAY_API_KEY secret
* feat: merge context, params, search and loaderData when `strict` is false
- objects in context, params, search and loaderData will be merged into object with all properties optional.
- if objects contain conflicting properties they are resolved with unions
- if some unions contain primitives, tuples or arrays they are ignored and are a part of a union
* chore: use `undefined` instead of `{}` for default TLoaderData
* 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