Summary
These two sentences at https://react.dev/learn/lifecycle-of-reactive-effects#how-react-verifies-that-your-effect-can-re-synchronize don't make sense for the given example.
For example, try editing the serverUrl in the sandbox above while the chat is open. Notice how the Effect re-synchronizes in response to your edits to the code.
Page
https://react.dev/learn/lifecycle-of-reactive-effects#how-react-verifies-that-your-effect-can-re-synchronize
Details
In that sandbox example, serverUrl is not a reactive value.
Editing its value in the sandbox does not cause the Effect to re-synchronize.
Summary
These two sentences at https://react.dev/learn/lifecycle-of-reactive-effects#how-react-verifies-that-your-effect-can-re-synchronize don't make sense for the given example.
Page
https://react.dev/learn/lifecycle-of-reactive-effects#how-react-verifies-that-your-effect-can-re-synchronize
Details
In that sandbox example,
serverUrlis not a reactive value.Editing its value in the sandbox does not cause the Effect to re-synchronize.