We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63f2311 commit 3c24233Copy full SHA for 3c24233
containers/Route/logic.js
@@ -9,6 +9,7 @@ const debug = makeDebugger('L:Route')
9
let route = null
10
const INDEX = ''
11
12
+// example: /getme/xxx?aa=bb&cc=dd
13
const parseMainPath = R.compose(
14
R.head,
15
R.split('?'),
@@ -18,6 +19,7 @@ const parseMainPath = R.compose(
18
19
R.prop('asPath')
20
)
21
22
+// example: /xxx/getme?aa=bb&cc=dd
23
const parseSubPathList = R.compose(
24
R.reject(R.isEmpty),
25
R.split('/'),
0 commit comments