Git Product home page Git Product logo

Comments (14)

taion avatar taion commented on June 29, 2024

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.

devknoll avatar devknoll commented on June 29, 2024

Running into this too. Seems related to [email protected] changes.

from react-router-relay.

taion avatar taion commented on June 29, 2024

Okay I see it's most likely facebook/relay@6cc8f96 then.

from react-router-relay.

taion avatar taion commented on June 29, 2024

Err scratch that, no it's not.

from react-router-relay.

taion avatar taion commented on June 29, 2024

I'm puzzled - I use this pattern in my code and it works just fine.

from react-router-relay.

taion avatar taion commented on June 29, 2024

Are either of you using prepareParams?

from react-router-relay.

devknoll avatar devknoll commented on June 29, 2024

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.

taion avatar taion commented on June 29, 2024

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.

taion avatar taion commented on June 29, 2024

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.

devknoll avatar devknoll commented on June 29, 2024

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.

taion avatar taion commented on June 29, 2024

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.

taion avatar taion commented on June 29, 2024

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.

devknoll avatar devknoll commented on June 29, 2024

/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.

taion avatar taion commented on June 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.