Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Commit

Permalink
Adds TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesseanwright authored May 26, 2020
1 parent 19b14eb commit 90eaecb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions reno/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export const routerCreator = (
);
const queryParams = rootQueryParams || url.searchParams;

// TODO: restructure this lookup to support O(1) retrieval
for (let [path, handler] of routes) {
const [firstMatch, ...restMatches] =
url.pathname.match(pathParser(path)) || [];
Expand Down

0 comments on commit 90eaecb

Please sign in to comment.