Skip to content

Support React 18#36

Merged
ThiefMaster merged 3 commits into
indico:masterfrom
oarepo:mirekys/react18-support
Apr 20, 2026
Merged

Support React 18#36
ThiefMaster merged 3 commits into
indico:masterfrom
oarepo:mirekys/react18-support

Conversation

@mirekys

@mirekys mirekys commented Apr 13, 2026

Copy link
Copy Markdown
Contributor

Bumps deps to React 18 while maintaining backward compatibility with React 16 and 17.

- Add React 18 support while maintaining backward compatibility
- Update to @cfaester/enzyme-adapter-react-18 for React 18 testing
- Upgrade Jest to v29 with jsdom environment
@ThiefMaster

Copy link
Copy Markdown
Member

We use react 17 in Indico, so that react version needs to be supported by react-overridable.

@mirekys

mirekys commented Apr 13, 2026

Copy link
Copy Markdown
Contributor Author

We use react 17 in Indico, so that react version needs to be supported by react-overridable.

this shouldn't break anything using react 17, as it touches just the testing dev deps

@OliverGeneser

Copy link
Copy Markdown
Contributor

@ThiefMaster I had a look at @mirekys demos (I pushed them here) and I think this PR is good to merge 👍

@ThiefMaster

Copy link
Copy Markdown
Member

Since this involves dependency updates, please add a .npmrc with min-release-age=7 in it to avoid getting extremely fresh (and potentially compromised/malicious versions of) dependent packages.

@ThiefMaster ThiefMaster changed the title React 18 Support React 18 Apr 20, 2026
@ThiefMaster ThiefMaster merged commit ce4006b into indico:master Apr 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants