Sunday, 28 May 2017

How to handle error on react relay container made by Relay.createContainer?

I made a react relay container by Relay.createContainer method.
I want to move user to logout page, when fetching data by GraphQL is failed. So I have to know how to handle error on the container.
I found renderFailure in Relay.RootContainer. But I could not find similar function in Relay.createContainer.



via neosarchizo

No comments:

Post a Comment