TypeError: Cannot read properties of undefined (reading 'metadata')
Open
- Dominant language
- Rust
- Stars
- 19k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
I found this error in sentry and I can't figure out the case where there is no fragmentNode.
The error occurred while looking for fragmentNode.metadata.
https://github.com/facebook/relay/blob/main/packages/react-relay/relay-hooks/useFragmentInternal_EXPERIMENTAL.js#L474
I would appreciate it if you could let me know the case where fragmentNode may not exist
Packages
- "react-relay": "^17.0.0",
- "relay-runtime": "^17.0.0",
- "rescript-relay": "^3.0.1", [rescript-relay](https://github.com/zth/rescript-relay)
- "rescript-relay-router": "^1.6.1", [rescript-relay-router](https://github.com/zth/rescript-relay-router)
Contributor guide
Assessment
This issue has not been assessed yet.