Skip to content

Conversation

@alexkrolick
Copy link
Collaborator

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

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
@reactjs-bot
Copy link

Deploy preview for reactjs ready!

Built with commit 6f6fc8d

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

@gaearon
Copy link
Member

gaearon commented Jan 2, 2019

I don't think this is very clear. Could even be more confusing than what we had.

@gaearon
Copy link
Member

gaearon commented Jan 2, 2019

I'll do it

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