-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TRACKING: feature/redux → feature/apollo #1147
Conversation
langpavel
commented
Feb 24, 2017
•
edited
Loading
edited
- Apollo client mounted on existing redux store
- Data are automatically prefetched on server, no imperative code in router
- Direct server side GraphQL - no additional HTTP request on SSR
- GraphQL queries are pre-parsed by Webpack loader
- Demonstrated on Home route/component
Just looked over everything, this looks awesome - is there anything in particular you would want more feedback on? |
@stubailo Feedback is welcomed, but this is feature branch. |
Ah, OK - so the idea is to keep it open as an example for how to do a certain thing, but not merge it? I'd be happy to help provide some content about what this is doing, or help add some more advanced features. |
I'm using this in production on two small sites, I'm back-pushing features there.. I love learning and feedback About Apollo, this is so opinionated, I'm almost sure this will never lands, but I will keep it up to date I promise So enjoy my work, if you want my response, just mention me @stubailo :-) |
First of all, this is an awesome boilerplate Poking around in the code has brought up a few questions
Which brings up my next question
Thank you for your hard work @langpavel! |
@leviwheatcroft Where things get a little more complex/opinionated with subscriptions is a pub/sub system. Something like Redis is a very big dependency and the Websocket server should be it's own app imo |
* ⬆️ Upgrade to Apollo Client 2.0 * Tweak HttpLink Credentials * Fix Layout test
…/github.com/KrzysztofKarol/react-starter-kit
…query' into feature/apollo
@langpavel This is the best combination of the web frontend of the time I feel, I was inspired from this branch a lot. Thanks. Thing is, Apollo Client does not have to depend on Redux since it has its own caching mechanism. The official docs points to this blog post. So what do you think when I say But yeah |
@piglovesyou I'm not sure what you mean... Apollo client isn't relying on Redux at all. |
@tim-soft Yeah I know Apollo Client doesn't. Then how about having "Redux-free Apollo branch" in RSK? AS IS: |
Would have been nice if feature/apollo was based on master rather then feature/redux. |
@piglovesyou |
@langpavel Good to hear that. I'm really interested in doing it using |
I created a PR of a pure Apollo branch called
without
upon the |
@piglovesyou, nice nickname 🤣 |
should these be closed since they are outdated |