question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

As of 2 hours ago official support for hooks by apollo has landed in version 3.0.0.. Would love to use this together with this HOC correctly. 😄

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:5
  • Comments:23 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
dacioromerocommented, Aug 12, 2019

I’ve created #77 which uses @apollo/react-ssr instead of react-apollo.

3reactions
lfadescommented, Aug 27, 2019

@adamsoffer Right, the hooks update wasn’t working in my example projects, I’ve been reviewing the example packages in Next.js that use Apollo, I certainly believe that the implementation is becoming way easier and this package may no longer be required but just some lines of code (I’m in the Next.js team)

Also there are good code optimizations that can be done by just including the implementation, once I have a good insight of how it’s going to look like, I’ll update the package again and maybe recommend a custom implementation instead. getDataFromTree is no longer working as before, e.g using it in the browser doesn’t really works so the configs in my package for it are not very useful, apollo-boost will be removed and the apollo client packages seem to be going through a refactor so maybe the implementation of Apollo (If my wishes become true) will be even better.

If you’re using this package and need hooks, this is the implementation that I currently recommend: with-apollo/lib/apollo.js

Read more comments on GitHub >

github_iconTop Results From Across the Web

Hooks Systems: Business IT Support | Remote Support
Need computer support for your small business? Hooks Systems can help! Learn more Our Services.
Read more >
Cable Support Hooks - Walmart.com
Shop for Cable Support Hooks at Walmart.com. Save money. ... Tie Tape Plant Ties Hook & Loop Garden Supports Bamboo Cane Wrap Support...
Read more >
Southwire SW-JHK-21 6" Cable Support J-Hook, Holds ...
These support hooks eliminate the problem of point loads that can cause band width damage to sensitive cables such as fiber optic, CAT...
Read more >
Introducing Hooks - React
React 16.8.0 is the first release to support Hooks. When upgrading, don't forget to update all packages, including React DOM. React Native has...
Read more >
75834 Plastic Hose Support Hooks, Gray - Imperial Supplies
Looking for Plastic Hose Support Hooks, Gray? Purchase it from Imperial Supplies along with 1.5 million other products.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found