Sorry if this has been brought up before, but I'm ...
# prisma-whats-new
s
Sorry if this has been brought up before, but I'm wondering about your https://github.com/graphcool-examples/react-graphql/tree/master/quickstart-with-relay-modern project and why it is using React Router 4 when the Relay Modern instructions specifically say that you should not use RR4 and instead use Found? https://facebook.github.io/relay/docs/routing.html
The component-based approach of React Router v4 does not readily allow for aggregating the data requirements for nested routes, and as such does not readily permit an approach that will avoid request waterfalls from nesting QueryRenderer components.
i
Technically speaking, you can use RR v4
For the example, it works. When you start routing heavily, it doesn’t scale and you start needing HOCs or RPCs
s
While it works, it's explicitly discouraged, and because of that I think that it doesn't serve anyone who follows the quickstart example to use it rather than an encouraged solution.
i
💁
s
I don't know what that emoji means 😆
i
It doesn’t really mean anything
It’s just funny
🤷‍♀️
s
¯\_(ツ)_/¯