UNPKG

react-best-router

Version:

In larger React applications, it is usually necessary to use a Router to handle relationships between pages and navigate between them. Are you using other Router libraries? Have you encountered any areas that are not very useful? For example, defining nes

4 lines (3 loc) 198 B
export declare function normalizePath(path: string): string; export declare function resolvePath(from: string, to: string): string; export declare function patternToRegExp(pattern: string): RegExp;