relay-tools / relay-hooks

Use Relay as React hooks
https://relay-tools.github.io/relay-hooks/docs/relay-hooks.html
MIT License
540 stars 56 forks source link

Which existing routing solutions work with relay-hooks? #114

Open gajus opened 3 years ago

gajus commented 3 years ago

Relay docs link to react-router and Found (https://relay.dev/docs/en/routing), but neither works with relay-hooks.

Is there any known implementation of a router that works with relay-hooks?

sibelius commented 3 years ago

react-router v5 is not compatible

https://github.com/ReactTraining/react-router/pull/7010#issuecomment-547625602

react-router v6 should be closer

gajus commented 3 years ago

Cool

axhl commented 3 years ago

Can I suggest this is reopened to solicit further suggestions, especially wrt preloading, which is currently not possible with react-router v6 per https://github.com/ReactTraining/react-router/issues/7200#issuecomment-816919413

What are people's preferred routers?