You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.
constMarketInfo: React.FC<MarketInfoProps>=({data}: MarketInfoProps)=>{return(<Container><InfoCarddata={data}/></Container>)}exportdefaultcreateFragmentContainer(MarketInfo,{data: graphql` fragment MarketInfo_data on MarketData { id latestValue previousValue year change } `,})
When I run relay compile, I got this bug: ReferenceError: _MarketInfo_data$ref is not defined.
I checked the ts file generated by Relay Compiler and everything looks fine:
I'm having a bug with $fragmentRefs while trying to add a fragment container to QueryRenderer.
On my App.tsx I have a query like this:
This is my codebase for MarketInfo.tsx:
When I run relay compile, I got this bug: ReferenceError: _MarketInfo_data$ref is not defined.
I checked the ts file generated by Relay Compiler and everything looks fine:
I'm new to the whole Relay thing. Do you know what I can do to fix this bug? Thank you.
The text was updated successfully, but these errors were encountered: