rogue.js icon indicating copy to clipboard operation
rogue.js copied to clipboard

Using REST

Open mschipperheyn opened this issue 7 years ago • 1 comments

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.

mschipperheyn avatar Jan 03 '19 23:01 mschipperheyn

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

alidcast avatar Jan 04 '19 00:01 alidcast