Support react-router-relay via applyRouterMiddleware.#23
Support react-router-relay via applyRouterMiddleware.#23joonhocho wants to merge 7 commits intojmurzy:masterfrom
Conversation
|
Related #21. |
|
Thanks. At first sight it looks good. Do you have an example repo with react-router-relay I can use to run a few tests? I'm currently working on #17 which will require refactoring a few things internally. Once I land a fix for that, this will be much easier to merge. Please bare with me as I catch up on my backlog. 🍺 |
|
I will definitely add examples tomorrow. |
|
@jmurzy, Just created todo example with relay: |
|
Awesome! Thanks. 🍺 |
|
@jmurzy, |
|
I've been looking into why it was rendering two lists after switching tabs, and I've found that it's because I am using
As result, Also, Relay initially fetching I've noticed that |
|
More investigation on the bug. |
|
facebook/react-native#7422 may be related. |
|
Hopefully new NavigationTransitioner fixes the issue. |
|
Yeah. Unfortunately though, patches that address that specific issue, facebook/react-native@c57bac4 and facebook/react-native@b4d15d3, did not make it into 0.29-rc. I'm trying to get those cherry picked into 0.29, facebook/react-native#8333. |
@jmurzy,
I finally got it working with react-router-relay.
Please take a look and let me know what you think.