Skip to content

Define mountNode on homepage #1018

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

Closed
wants to merge 3 commits into from
Closed

Define mountNode on homepage #1018

wants to merge 3 commits into from

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 <[email protected]>

* Update content/docs/hooks-reference.md

* Update content/docs/hooks-reference.md

---------

Co-authored-by: Xavi Lee <[email protected]>
Co-authored-by: TimLi <[email protected]>
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