Comments (14)
This is literally the only change between 0.6.2 and 0.7.0 though: 7221ebf. Are you sure it's not some dependency thing?
from react-router-relay.
Running into this too. Seems related to [email protected] changes.
from react-router-relay.
Okay I see it's most likely facebook/relay@6cc8f96 then.
from react-router-relay.
Err scratch that, no it's not.
from react-router-relay.
I'm puzzled - I use this pattern in my code and it works just fine.
from react-router-relay.
Are either of you using prepareParams
?
from react-router-relay.
Nope.
On Tue, Nov 3, 2015 at 8:41 PM, Jimmy Jia [email protected] wrote:
Are either of you using prepareParams?
—
Reply to this email directly or view it on GitHub
#70 (comment)
.
from react-router-relay.
I'm totally stumped then. I tried a couple of variations of using this pattern locally and they all seemed to work.
from react-router-relay.
I've been meaning to set some time aside to add test coverage anyway - this is probably a good motivation. But I'd appreciate any help getting a repro for this, since I'm not sure how I'd reproduce in an automated way a bug that I can't reproduce manually.
from react-router-relay.
Okay I see it's most likely facebook/relay@6cc8f96 then.
This was my initial thought too... some quick sleuthing indicated that the routes/params were being correctly passed down by RRR, but the params themselves aren't being written out in the query on the Relay end.
from react-router-relay.
That's not new to Relay v0.4.0 or RRR v0.7.0 though.
What version of babel-relay-plugin do you have?
from react-router-relay.
A possible culprit is facebook/relay@356529f, if you haven't upgraded babel-relay-plugin to v0.3.0.
I see that Relay v0.4.0 was shipped without the peer dependency, though Relay on master now has it.
from react-router-relay.
/facepalm
Updating to 0.3.0 fixes it.
On Tue, Nov 3, 2015 at 9:15 PM, Jimmy Jia [email protected] wrote:
A possible culprit is facebook/relay@356529f
facebook/relay@356529f,
if you haven't upgraded babel-relay-plugin to v0.3.0.I see that Relay v0.4.0 was shipped without the peer dependency, though
Relay on master now has it.—
Reply to this email directly or view it on GitHub
#70 (comment)
.
from react-router-relay.
And - it's something that automated testing probably wouldn't have caught (since I would have upgraded everything all at once), so I feel less guilty now for not having any tests. And it's good to see the peer dependency now listed under Relay.
@justinsb It's quite likely you're hitting the same problem - I'm going to close this issue under that assumption, but let me know if it's otherwise.
from react-router-relay.
Related Issues (20)
- [react-router] The middleware specified at index 0 does not appear to be a valid React Router middleware HOT 1
- GraphQL error gets stuck in parent route HOT 11
- PrepareParams per-component basis? HOT 2
- Single-Page App Sharing Variables / Single Query HOT 1
- query params routing HOT 1
- Fetch completes but doesn't cause a refresh when navigating through link (fine during refresh) HOT 4
- arguments of type GraphQLList are sent in two separate requests and doesnt work HOT 1
- How do I access the relay environment? HOT 1
- Supporting react-router 4.0 HOT 1
- How to handle "Object not found" cases? HOT 1
- Module not found: 'react-router/lib/getRouteParams' HOT 1
- Named components readyState change at same time even if queries not finished together HOT 2
- Compatible with React-Router latest version(4.x). HOT 1
- Go to url based on data recieved from Relay? HOT 1
- Use with react-router 4.0.0 HOT 5
- Incompatible With React-Router V4
- Make Compatible with Relay 2 HOT 20
- is this even possible ? HOT 1
- React 16 Compatability HOT 1
- Back via Browser History with state persisting? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-router-relay.