single-spa / single-spa-react

Single-spa lifecycles helper for React applications
https://single-spa.js.org/docs/ecosystem-react.html
MIT License
223 stars 62 forks source link

Parcel never mounts component with StrictMode enabled #160

Closed eljo closed 1 day ago

eljo commented 1 year ago

With React 18 development library and the component does not mount the actual parcel.

Observed flow:

MilanKovacic commented 11 months ago

Hi, did you solve the problem?

webJose commented 10 months ago

I just stumbled upon this same scenario.

BournazosHarry commented 8 months ago

We experience the same issue. We use the Parcel component and what I noticed is that it mounts it, it's visible for a split of a second and then it unmounts it. Could it be that in the second render of StrictMode the parcel is considered mounted? Some timing issue maybe? I hope you can figure it out soon.

ArsBarsj commented 1 month ago

React 19 is on the way, can anyone tell me when the release with this fix will be?

joeldenning commented 1 day ago

Fixed in 6.0.2