Skip to content

Update to React 19#1705

Open
Arnei wants to merge 19 commits into
opencast:developfrom
Arnei:replace-resize-observer
Open

Update to React 19#1705
Arnei wants to merge 19 commits into
opencast:developfrom
Arnei:replace-resize-observer

Conversation

@Arnei
Copy link
Copy Markdown
Member

@Arnei Arnei commented May 19, 2026

Fixes #1643.

react-beforeunload added support for React 19, and use-resize-observer was replaced.

Bunch of other dependencies received major version updates too.

Arnei added 11 commits May 19, 2026 11:22
With "usehooks-ts". The previous library is blocking our update
to React 19 and it is unclear whether that will ever change.
Minimal viable dependency updates to finally get React 19.
React 19 does not require a lot of changes, but some.
Also needed to disable a typescript rule because
typescript got confused.
@Arnei Arnei added the type:dependencies Pull requests that update a dependency file label May 19, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 19, 2026

This pull request is deployed at test.editor.opencast.org/1705/2026-05-22_12-16-10/ .
It might take a few minutes for it to become available.

Arnei added 5 commits May 20, 2026 16:22
Lots of major changes with this update. Will have to see
if and how this might influence behaviour.

Seems to allow us to get rid of our custom patched
version though, which I like.
New major has quite a few changes, but ultimately
things should work the same as before.
Was because of dependency upgrade
@Arnei Arnei force-pushed the replace-resize-observer branch from be77113 to 1f86b2b Compare May 22, 2026 08:47
Arnei added 3 commits May 22, 2026 11:00
There were previously used in the Metadata component.
With the rewrite of the metadata component,
they were only used for
one Select in the subtitle select, for which they
are totally overkill.
This removes them, and instead uses a Select from mui material.
due to undefined error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update to React 19; blockers

1 participant