Skip to content

Conversation

@alexkrolick
Copy link
Collaborator

@alexkrolick alexkrolick commented Jun 28, 2018

see #1017

mountNode is actually defined somewhere on the page so defining it in the example breaks it...

@reactjs-bot
Copy link

reactjs-bot commented Jun 28, 2018

Deploy preview for reactjs ready!

Built with commit 3158bde

https://deploy-preview-1018--reactjs.netlify.com

alexkrolick added a commit that referenced this pull request Jan 2, 2019
This is still a bit opaque but it's difficult to fix with the current way
CodeEditor works:
- long-term CodeEditor.js could take a node reference instead of defining
  mountNode internally
- could also use document.createElement to define the target in the code,
  but this could be mislead people to think this is required instead of
  using an existing reference

see #1017, #1018, #1019
@alexkrolick alexkrolick deleted the mountNode-wtf branch January 2, 2019 03:32
BetterZxx pushed a commit to BetterZxx/react.dev that referenced this pull request Mar 21, 2023
…ctjs#1018)

* Update hooks-reference.md

translate #batching-of-state-updates

* Apply suggestions from code review

Co-authored-by: TimLi <daochouwangu@gmail.com>

* Update content/docs/hooks-reference.md

* Update content/docs/hooks-reference.md

---------

Co-authored-by: Xavi Lee <awxiaoxian2020@163.com>
Co-authored-by: TimLi <daochouwangu@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants