Closed matt-dalton closed 2 years ago
Hi @matt-dalton, i removed the import from react-relay-offline but it is still possible to use it through react-relay.
Fragments do not have specific logic for offline management.
Let me know if you have any problems using them 👍
Ah OK perfect - that gives us a workaround 👍
Is it also OK to import graphql
from react-relay directly? Presumably there's no offline-specific logic there either
...also - presumably it's the same situation for createPaginationContainer?
Yes 👍
Brilliant - thanks for such a quick response 👌🏻
We've (finally) tried to upgrade to version 3. It seems we can no longer import
createFragmentContainer
fromreact-relay-offline
. Has this now been completely removed?I saw in the release notes that the Query HOC has been removed, but the fragment container is significantly harder for us to migrate off in one go (we'd have to refactor basically every component). Do we need to switch everything to hooks to upgrade to v3 (and hence relay 10)?