* Add onError option to Flight Server The callback is called any time an error is generated in a server component. This allows it to be logged on a server if needed. It'll still be rethrown on the client so it can be logged there too but in case it never reaches the client, here's a way to make sure it doesn't get lost. * Add fatal error handling |
||
|---|---|---|
| .. | ||
| src | ||
| index.js | ||
| package.json | ||
| server.js | ||