jgoz opened a new pull request, #14380:
URL: https://github.com/apache/druid/pull/14380

   ### Description
   
   Upgrades the React dependency to v18.
   
   Note that there are several dependent packages whose peer dependency ranges 
still do not include 18. With the default npm peer dependency mode (strict), 
this would actually cause `npm install` to fail, so I switched to the legacy 
peer dependency mode. Keeping strict mode would involve upgrading, or in most 
cases, switching to alternate dependencies for those that have stopped 
receiving updates (react-table v6, react-splitter-layout, react-diff-viewer).
   
   It was also not possible to switch to the [new JSX 
transform](https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html)
 because react-table has an implicit dependency on the `.createElement` API 
being used in order to distinguish between class and function components.
   
   <hr>
   
   <!-- Check the items by putting "x" in the brackets for the done things. Not 
all of these items apply to every PR. Remove the items which are not done or 
not relevant to the PR. None of the items from the checklist below are strictly 
necessary, but it would be very helpful if you at least self-review the PR. -->
   
   This PR has:
   
   - [x] been self-reviewed.
   - [x] added or updated version, license, or notice information in 
[licenses.yaml](https://github.com/apache/druid/blob/master/dev/license.md)
   - [x] added unit tests or modified existing tests to cover new code paths, 
ensuring the threshold for [code 
coverage](https://github.com/apache/druid/blob/master/dev/code-review/code-coverage.md)
 is met.
   - [x] been tested in a test Druid cluster.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to