Skip to content

Commit

Permalink
Upgrade single-spa-welcome to React 19
Browse files Browse the repository at this point in the history
  • Loading branch information
joeldenning committed Dec 18, 2024
1 parent f3fcb82 commit 801845d
Show file tree
Hide file tree
Showing 4 changed files with 495 additions and 43 deletions.
5 changes: 5 additions & 0 deletions .changeset/blue-rocks-bathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"single-spa-welcome": patch
---

Upgrade to react 19
4 changes: 2 additions & 2 deletions packages/single-spa-welcome/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"webpack-merge": "^5.8.0"
},
"dependencies": {
"react": "^17.0.2",
"react-dom": "^17.0.2"
"react": "^19.0.0",
"react-dom": "^19.0.0"
}
}
4 changes: 2 additions & 2 deletions packages/single-spa-welcome/src/single-spa-welcome.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import React from "react";
import ReactDOM from "react-dom";
import ReactDOMClient from "react-dom/client";
import singleSpaReact from "single-spa-react";
import Welcome from "./welcome";

const lifecycles = singleSpaReact({
React,
ReactDOM,
ReactDOMClient,
rootComponent: Welcome,
errorBoundary(err, info, props) {
// Customize the root error boundary for your microfrontend here.
Expand Down
Loading

0 comments on commit 801845d

Please sign in to comment.