Update color handling and enhance session management in the Reconciler

- Added 'Name' to the list of excluded property names in the rbx_dom_lua module to prevent unnecessary comparisons.
- Updated color handling in the diff stress tests to use Color3.fromRGB for better precision and clarity in color representation.
- Improved the hydrate function to initialize a new session if none is provided, enhancing session management during instance hydration.
- Refined the trueEquals function to handle NaN comparisons correctly, ensuring accurate equality checks for numeric values.

These changes improve the accuracy of property comparisons and enhance the overall functionality of the Reconciler module.
This commit is contained in:
Joe 2026-02-18 06:59:03 -06:00
parent ddd47b9afa
commit 30e032b27e
5 changed files with 15 additions and 11 deletions

View file

@ -44,6 +44,7 @@ end
local EXCLUDED_PROP_NAMES: { [string]: boolean } = {
Tags = true,
Attributes = true,
Name = true,
}
-- Encoded value type keys that cannot be compared during matching.