Skip to content

[Typo]: editing serverUrl in the sandbox as directed does not cause the Effect to re-synchronize #8430

@robin-a-meade

Description

@robin-a-meade

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions