You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
react and react-dom are not peer dependencies. This can cause version mismatches between React used by Apollon and React used by other dependencies in a project. Note the difference between 18.2.0 and 18.3.1:
Such a version mismatch may cause an error as explained under the section "Duplicate React" in the Invalid Hook Call Warning. The React website referenced in the error states that this error can occur when "a library you’re using incorrectly specifies react as a dependency (rather than a peer dependency)."
Expected behavior
react and react-dom should be peer dependencies in order to avoid errors that can be caused by version mismatches.
The text was updated successfully, but these errors were encountered:
Describe the bug
react
andreact-dom
are not peer dependencies. This can cause version mismatches between React used by Apollon and React used by other dependencies in a project. Note the difference between 18.2.0 and 18.3.1:Such a version mismatch may cause an error as explained under the section "Duplicate React" in the Invalid Hook Call Warning. The React website referenced in the error states that this error can occur when "a library you’re using incorrectly specifies react as a dependency (rather than a peer dependency)."
Expected behavior
react
andreact-dom
should be peer dependencies in order to avoid errors that can be caused by version mismatches.The text was updated successfully, but these errors were encountered: