From 95d14f5f28dcd259036716c7e56d90be11faba3a Mon Sep 17 00:00:00 2001 From: sebmarkbage Date: Mon, 18 Sep 2023 16:01:33 +0000 Subject: [PATCH] [Fizz] Reuse rootSegmentID as the SuspenseBoundaryID (#27387) Originally the intension was to have React assign an ID to a user rendered DOM node inside a `fallback` while it was loading. If there already were an explicit `id` defined on the DOM element we would reuse that one instead. That's why this was a DOM Config option and not just built in to Fizz. This became tricky since it can load late and so we'd have to transfer it down and detect it only once it finished rendering and if there is no DOM element it doesn't work anyway. So instead, what we do in practice is to always use a `