Upgrade to React 18
Context:
- Upgrade guide: https://reactjs.org/blog/2022/03/08/react-18-upgrade-guide.html
- If there's not anything we urgently need, let's give some time for our other dependencies (react-select, etc.) to do patch releases as necessary
Implementation Sketch
- Update react/react-dom and type libraries
- Update dependencies to version supporting React 18, e.g., react-bootstrap, react-select, etc.
Considerations:
- PSA: React 18 calls code twice in strict dev mode to detect side effects. Discussion on HN: https://news.ycombinator.com/item?id=30976040
Related: https://github.com/pixiebrix/pixiebrix-extension/pull/3179
Likely blocked by:
- https://github.com/rjsf-team/react-jsonschema-form/issues/2976
The issue is closed, but a stable v5 hasn't been released yet: https://github.com/rjsf-team/react-jsonschema-form/releases
Related but not blocking:
- https://github.com/pixiebrix/pixiebrix-extension/issues/1851
This issue will be closed in 7 days unless the stale label is removed, or a comment is added to the issue.
Also blocked by a dead project:
- https://github.com/supasate/connected-react-router/issues/612
Related:
- https://github.com/pixiebrix/pixiebrix-extension/issues/1851#issuecomment-1963010886
This issue will be closed in 7 days unless the stale label is removed, or a comment is added to the issue.
This issue was closed because it has been stale for 7 days with no activity.