rogue.js
rogue.js copied to clipboard
Using REST
I've read most of the issues here and understand that Rest is possible but requires you to pass data to specific pages possibly using namespacing to facilitate. Any chance for an example on this?
I'm on a project that is on rest but migrating to graphql. It would be nice to understand how to apply either rest or graphql.
a lot of what I've written in issues might not be relevant since the API has changed a bit (i.e. we used to walk the tree and call initial props on pages but that was warned against so now it's just call it on the root component)
I'd recommend apollo-link-rest https://www.apollographql.com/docs/link/links/rest.html