[Typo]: editing `serverUrl` in the sandbox as directed does not cause the Effect to re-synchronize
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 11.8k
- Forks
- 7.9k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 11
Description
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
serverUrlin the sandbox above while the chat is open. Notice how the Effect re-synchronizes in response to your edits to the code.
Page
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked section in the React documentation and inspect the sandbox for the chat example, especially how serverUrl is defined and changed. Compare the instruction with the observed behavior, then revise the two sentences so they accurately describe when the Effect re-synchronizes; the linked page should no longer make a claim the sandbox cannot demonstrate.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 68/100