next.js
30937eeb - refactor: share utils and optimize segments normalization (#54611)

Commit
2 years ago
refactor: share utils and optimize segments normalization (#54611) * Share util `isGroupSegment` * Refactor `normalizePathname` to`normalizeSegments` in `src/client/components/router-reducer/compute-changed-path.ts` to avoid extra call of path join and split
Author
Parents
Loading