react-relay hooks is not called first time on render in React-native
- Dominant language
- Rust
- Stars
- 19k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
i tried useQueryLoader/useLazyLoadQuery/fetchQueery/useQuery etc. i got text string must be render in text comment when called usePreloaded query in react-native i get data successfully without write usePreloadedQuery and pressing CMD+S in file where usQueryloader is called.
in react.js everything is working fine....
Documentation link : https://relay.dev/ graphql is imported from Relay hooks not from babel-plugin-relay/macros ,if i import from plugin throws error of 'crypto' module is not find and 'os' also some main file import.
Contributor guide
Research direction
Start with the reported React Native hooks: useQueryLoader, useLazyLoadQuery, fetchQuery, useQuery, and usePreloadedQuery, using the linked Relay documentation as context. Reproduce the first-render behavior and compare it with the described React behavior; done means the query hook runs on the initial render without requiring CMD+S, while preserving the reported text-rendering and module errors as relevant symptoms.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- graphql, react-native
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100