question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

react-relay/classic usage?

See original GitHub issue

Hey @edvinerikson, first, thanks for putting this together in the first place. We’ve been using it extensively for the last 6 months.

I was wondering if you have any thoughts on how to use this alongside relay 1.0. I’d love to be able to use it with relay/classic so that we can incrementally upgrade to relay-modern (using the relay-modern subscriptions requires moving to the relay-modern store, which requires upgrading everything at once).

I tried forking this bad-boy, upgrading to react-relay 1.0 and importing react-relay/classic instead of react-relay, but I can’t seem to get it to work. I assume (although I don’t know) that it’s because the direct imports you have from react-relay/lib... now point to the relay-modern versions, but was curious if you had thoughts.

Thanks!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
edvineriksoncommented, Jun 3, 2017

The changes are published as 2.0.0

Thanks for the help! 😃

1reaction
edvineriksoncommented, Jun 1, 2017

Hello, thanks for raising the issue 😃 I will not be able to do this myself until weekend but I will definitely be able to merge a PR if any of you send one. 😊

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to use the react-relay/classic.Store function in ... - Snyk
To help you get started, we've selected a few react-relay/classic.Store examples, based on popular ways it is used in public projects.
Read more >
Compatibility Cheatsheet - Relay
However components using the Relay Modern API ( 'react-relay' ) and the Relay Classic API ( 'react-relay/classic' ) cannot be used with each...
Read more >
Document better how react-relay/classic should be imported
The word "Classic" seems to suggest that while this is old, it's still a viable way to use it. In most other contexts...
Read more >
Relay Classic - Fullstack React
In this chapter we're going to walk through a practical tutorial on how to setup and use Relay in a client app. Relay...
Read more >
How to configure babel for react-relay (classic) on react-native ...
As my code definitely uses verbatim Relay.QL in the relevant code, the issue obviously must be that the babel transform isn't working. The...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found