DioxusLabs / dioxus

Fullstack GUI library for web, desktop, mobile, and more.
https://dioxuslabs.com
Apache License 2.0
19.24k stars 731 forks source link

Fix memorization for the fragment component #2360

Closed ealmloff closed 2 months ago

ealmloff commented 2 months ago

Memorize no longer just compares props. It also moves over props if they are different.

Fragment was not updated when memorize changed from comparing to comparing and reconciling props which caused diffing issues. This PR updates the manual prop implementation of Fragment and ErrorBoundary to fix those diffing issues

Fixes #2359