Commit 8a5b7e9
authored
fix(deps): Resolve React version incompatibility (#921)
The application was crashing on startup with a `ContextRegistry` error.
This was caused by the Gatsby v5 project inheriting an incompatible
version of React (v19) from the parent repository.
This change pins `react` and `react-dom` to `^18.2.0` in the
`package.json` to ensure compatibility with Gatsby and isolate its
environment.
By submitting a PR to this repository, you agree to the terms within the
[Auth0 Code of
Conduct](https://github.com/auth0/open-source-template/blob/master/CODE-OF-CONDUCT.md).
Please see the [contributing
guidelines](https://github.com/auth0/.github/blob/master/CONTRIBUTING.md)
for how to create and submit a high-quality PR for this repo.
### Description
> Describe the purpose of this PR along with any background information
and the impacts of the proposed change. For the benefit of the
community, please do not assume prior context.
>
> Provide details that support your chosen implementation, including:
breaking changes, alternatives considered, changes to the API, etc.
>
> If the UI is being changed, please provide screenshots.
### References
> Include any links supporting this change such as a:
>
> - GitHub Issue/PR number addressed or fixed
> - Auth0 Community post
> - StackOverflow post
> - Support forum thread
> - Related pull requests/issues from other repos
>
> If there are no references, simply delete this section.
### Testing
> Describe how this can be tested by reviewers. Be specific about
anything not tested and reasons why. If this library has unit and/or
integration testing, tests should be added for new functionality and
existing tests should complete without errors.
>
> Please include any manual steps for testing end-to-end or
functionality not covered by unit/integration tests.
>
> Also include details of the environment this PR was developed in
(language/platform/browser version).
- [ ] This change adds test coverage for new/changed/fixed functionality
### Checklist
- [ ] I have added documentation for new/changed functionality in this
PR or in auth0.com/docs
- [ ] All active GitHub checks for tests, formatting, and security are
passing
- [ ] The correct base branch is being used, if not the default branch1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
| 10 | + | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
0 commit comments