Deprecate context object as a consumer and add a warning message #13829
React: size: -0.0%, gzip: 0.0%
Details of bundled changes.
Generated by 🚫 dangerJS
React v16.6 had some breaking changes to the way context works for SSR libraries. I'm trying to fix jaydenseric/graphql-react#11 but finding it pretty hard to work out whats going on… any tips?
Here are some relevant locations:
I thought I'd worked it out, but discovered (after a release and deployment 😞) that context consumer behavior is pretty different when
It's midnight now, I give up.
Looking over it a now, a few days later it's hard to remember exactly the issues…
I live in fear non semver major React releases will break this logic again; It's happened twice now. Do you think the changes coming in #14033 will cause this implementation to break again? It's kinda hard for me to tell looking at it.