Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

client: Upgrade to react 19 #1511

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from
Draft

client: Upgrade to react 19 #1511

wants to merge 8 commits into from

Conversation

jtojnar
Copy link
Member

@jtojnar jtojnar commented Dec 29, 2024

Ton of cool new features. Actions look especially promising.

https://react.dev/blog/2024/12/05/react-19
https://react.dev/blog/2024/04/25/react-19-upgrade-guide

PropTypes were removed so we need to switch to TypeScript first.

Blockers

Copy link

netlify bot commented Dec 29, 2024

Deploy Preview for selfoss canceled.

Name Link
🔨 Latest commit b8b5a90
🔍 Latest deploy log https://app.netlify.com/sites/selfoss/deploys/67710c365550310008042c3d

@jtojnar jtojnar added the dependencies Pull requests that update a dependency file label Dec 29, 2024
@jtojnar jtojnar added this to the 2.20 milestone Dec 29, 2024
Introduces a ton of cool new features, especially actions.

https://react.dev/blog/2024/12/05/react-19
https://react.dev/blog/2024/04/25/react-19-upgrade-guide

Will switch to them later.
Removes PropTypes support.
Introduces a ton of cool new features, especially actions.
Will switch to them later.

https://react.dev/blog/2024/12/05/react-19
https://react.dev/blog/2024/04/25/react-19-upgrade-guide
The implicit calling of the `ref` callback with `null` will likely going to be deprecated.

https://react.dev/blog/2024/12/05/react-19#cleanup-functions-for-refs
This will make it slightly cleaner, allowing us to use `async`/`await`.

https://react.dev/blog/2024/12/05/react-19#new-hook-useactionstate

Instead of `LoadingState` we will use an object with non-overlapping keys.
/me sighing over lack of proper sum types in JavaScript.
This will make it slightly cleaner, allowing us to use `async`/`await`.

https://react.dev/blog/2024/12/05/react-19#new-hook-useactionstate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant