-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Describing upgrade to 2.0 from 1.x as simple or quick is not always accurate #2501
Comments
Agree. This was not a trivial upgrade. I have a special network interface that uses Socket Cluster that required a complete rewrite around Link, and the docs did not help at all with this. I had to look at the default implementations' code for guides. Also, discarding Redux has introduced several new issues with race conditions that are hard to debug due to lack of visibility in the form of state-change logging. This is the entire reason we use Redux, and it is now completely gone. (For instance, I perform a reset on the cache in a redux post-reducer logic when a user logs out, which immediately propogates react updates down the component stack before Redux has a chance to update, where before this would have been queued in the Redux event manager behind the updated account login status.) I am also noticing that query responses are slightly slower and there is a debounce issue with |
@liz-mars I'm so sorry to hear the upgrade path wasn't as easy as I hoped it would be for you. Part of the language around the upgrade was formed by the fact that nearly all application usage would stay the same. This certainly didn't take into account third party libraries into account which should have been considered and noted. With that being said, I hope a single workday of upgrade will prove to be worth it as we continue to make AC smaller, faster, and more powerful with the 2.0 line. @Panoplos sorry to hear about your experience as well! What can we document better to help with this and others who may run into it? If either of you would like to add some comments to the redux integration issue please do! I'd love to know what is missing now and how we can provide it! |
I've recently had to upgrade from 1.2.x to 2.0 and the documentation suggests this is a quick change. While I profoundly appreciate all the hard work that has gone into this product, I also can't help but notice this description of the upgrade path is (sometimes) misleading. It can be a real toothpull if:
At minimum, one has to work through (in my case, hundreds) of files, altering them such that gql is imported from graphql-tag instead of react-apollo.
Not unrelatedly: AFAICT, literally half a dozen new packages to manage in package.json. I appreciate the Reasons of Modularity which motivated this move, but, as above, there is a lot of reworking that has to be done, especially on large projects.
Can't wait to see where we go with 2.0. On continue -- but also, let's not minimize the scope of the upgrade. My whole workday just got sunk into this.
The text was updated successfully, but these errors were encountered: