Skip to content
This repository has been archived by the owner on Jan 26, 2020. It is now read-only.

Using REST #79

Open
mschipperheyn opened this issue Jan 3, 2019 · 1 comment
Open

Using REST #79

mschipperheyn opened this issue Jan 3, 2019 · 1 comment

Comments

@mschipperheyn
Copy link

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.

@alidcast
Copy link
Owner

alidcast commented Jan 4, 2019

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants