Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: suspected React 19 issue in React Documentation interactive app #32242

Open
behanprw opened this issue Jan 28, 2025 · 0 comments
Open

Bug: suspected React 19 issue in React Documentation interactive app #32242

behanprw opened this issue Jan 28, 2025 · 0 comments
Labels
Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug

Comments

@behanprw
Copy link

I suspect an issue with React v19, or if not a React v19 issue, an issue with the code in the React Documentation

React version: v19

Steps To Reproduce

  1. go to https://react.dev/learn/render-and-commit
  2. scroll down to the first interactive app, see screenshot.
  3. Delete line 5 in the code.
  4. hit the reset button in the upper right corner, then hit on ok.
  5. instead of seeing the image rendered on the right, it is empty.
  6. click a random line in the code (of course without changing something), hit the ENTER key, and the image is rendered.
Image

.

Link to code example:

https://react.dev/learn/render-and-commit

The current behavior

When you remove the code in line 5, then click on reset and click on ok, no image is rendered, unless you click the code and hit the ENTER key.

The expected behavior

When you remove the code in line 5, then click on reset and click on ok, an image should be rendered without having to click the code and hit the ENTER key.

PS: I have experienced random clicking issues with the interactive examples in the React Documentation.

@behanprw behanprw added the Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug label Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug
Projects
None yet
Development

No branches or pull requests

1 participant