Skip to content

Commit

Permalink
Merge branch 'main' into welcome-react-19
Browse files Browse the repository at this point in the history
  • Loading branch information
joeldenning committed Dec 18, 2024
2 parents 801845d + 1cdc37e commit 35c8368
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/cool-pillows-live.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"generator-single-spa": patch
---

Remove unneeded ReactDOM
2 changes: 0 additions & 2 deletions packages/generator-single-spa/src/react/templates/src/main.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
import React from "react";
import ReactDOM from "react-dom";
import ReactDOMClient from "react-dom/client";
import singleSpaReact from "single-spa-react";
import Root from "./root.component";

const lifecycles = singleSpaReact({
React,
ReactDOM,
ReactDOMClient,
rootComponent: Root,
errorBoundary(err, info, props) {

0 comments on commit 35c8368

Please sign in to comment.