[DevTools] Preserve -Infinity in inspected values (#36347) (opens in new tab)
\[DevTools\] Preserve -Infinity in inspected values \(\#36347\) \#\# Summary \`getDataType\` collapsed both \`Infinity\` and \`-Infinity\` to the \`'infinity'\` data type, so a \`-Infinity\` value coming from inspected props/state/hooks was rehydrated on the frontend as \`Infinity\`\. This adds a \`'-infinity'\` \`DataType\`, routes it through \`dehydrate\`/\`hydrate\` alongside the existing \`'infinity'\` arm, and makes \`smartParse\`/\`smartStringify\` \(used for editable hook values\) symm...
Read the original article