Releases: relay-tools/react-router-relay
v0.6.1
In some cases, the previous logic for generating unique query names based on referential equality of routes would break due to the route objects changing. This would lead to routes getting stuck in renderLoading
forever due to changes in the generated unique query names. This release adds support for explicitly named routes, which allows us to match query names even when the route objects break referential equality.
v0.6.0
v0.5.0
v0.4.5
v0.4.4
v0.4.3
v0.4.2
Fix dependencies
Added a missing babel-runtime
dependency.
Refactored internals and new API
We're now react-router-relay (instead of relay-nested-routes)!
@taion did some great refactoring with help from @cpojer to simplify the library while making it support more use cases.
Nested routes and queries are still aggregated up to a single Relay.RootContainer
and dispatched in one go for batching and server side rendering, but now it's possible to provide RootContainer-esque functions on a per route basis like renderLoading
, renderFetched
, and renderFailed
, in order to customize the experience for your app.