We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
rntester-legacy
1 parent 0479145 commit e385ff6Copy full SHA for e385ff6
packages/rn-tester/js/RNTesterAppShared.js
@@ -153,7 +153,7 @@ const RNTesterApp = ({
153
// * rntester://example/<moduleKey>
154
// * rntester://example/<moduleKey>/<exampleKey>
155
const match =
156
- /^rntester:\/\/example\/([a-zA-Z0-9_-]+)(?:\/([a-zA-Z0-9_-]+))?$/.exec(
+ /^rntester(-legacy)?:\/\/example\/([a-zA-Z0-9_-]+)(?:\/([a-zA-Z0-9_-]+))?$/.exec(
157
url,
158
);
159
if (!match) {
@@ -163,8 +163,8 @@ const RNTesterApp = ({
163
return;
164
}
165
166
- const rawModuleKey = match[1];
167
- const exampleKey = match[2];
+ const rawModuleKey = match[2];
+ const exampleKey = match[3];
168
169
// For tooling compatibility, allow all these variants for each module key:
170
const validModuleKeys = [
0 commit comments