-
Notifications
You must be signed in to change notification settings - Fork 87
Errors thrown when evaluating ModuleRoute properties kill the server #213
Comments
Hey @smackfu! We really appreciate you taking the time to report an issue. The collaborators on this project attempt to help as many people as possible, but we're a limited number of volunteers, so it's possible this won't be addressed swiftly. If you need any help, you can request an invite to our Slack community that typically always has someone willing to help." |
This issue is stale because it has been open 30 days with no activity. |
This issue is stale because it has been open 30 days with no activity. |
With the latest changes in One App, I believe this is fixed. I tried with the following examples and the app does not crash and the page loads. const a = {
b: 'hello',
};
const childRoutes = () => [
<ModuleRoute path="/" property={a.b} />,
]; const a = 'hello';
const childRoutes = () => [
<ModuleRoute path="/" property={a} />,
]; |
@JamesSingleton unfortunately, just ran into this again on v5.7.0. Crashed the process. I think my reproduce example was unclear -- you should NOT define the |
This issue is stale because it has been open 30 days with no activity. |
This issue is stale because it has been open 30 days with no activity. |
This issue is stale because it has been open 30 days with no activity. |
🐞 Bug Report
Describe the bug
Errors thrown when evaluating
ModuleRoute
properties kill the server.To Reproduce
childRoutes
variable with aModuleRoute
that throws an error when evaluating the properties.Navigate to http://localhost:3000/test
Server exits.
Expected behavior
Server stays running and prints an error handler message.
System information
The text was updated successfully, but these errors were encountered: