]> git.ipfire.org Git - thirdparty/vuejs/router.git/commit
chore: wip refactor refactor/use-experimental-router
authorEduardo San Martin Morote <posva13@gmail.com>
Wed, 8 Jan 2025 09:49:03 +0000 (10:49 +0100)
committerEduardo San Martin Morote <posva13@gmail.com>
Wed, 8 Jan 2025 09:49:03 +0000 (10:49 +0100)
commit34c0c1342538d4f72fe5427631d32ecea1fc64ee
tree997c1aa6805449e0bd5605725b3e8a00189981d1
parent794fdd57fba7d3f0458e519d417d3376a95c16db
chore: wip refactor

The idea here was to reuse the experimental router within the actual
router. This turns out to be a lot of work without any security of
having something working and without breaking changes in the end. So I
think it's better to keep two versions of the createRouter function with
prefix `EXPERIMENTAL_`. In the end, one code base only uses one of the
function so it's fine to keep the code duplicated until v5. This branch
is here as a reminder of the failure.
packages/router/src/experimental/router.ts
packages/router/src/matcher/pathMatcher.ts
packages/router/src/router.ts