relay-tools / found-relay

Relay integration for Found
MIT License
276 stars 32 forks source link

Pass resolving to component when rendering #617

Open vikashtank opened 2 years ago

vikashtank commented 2 years ago

At the moment the only way to get access to the resolving variable is to replace the Component prop with a render prop. This can be a lot of overhead for a simple route, so passing this variable in as a prop to the component should make the API easier to use and more consistent with what render receives.