-
Notifications
You must be signed in to change notification settings - Fork 67
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
DOC Update history viewer GraphQL examples for CMS 5 #196
DOC Update history viewer GraphQL examples for CMS 5 #196
Conversation
744c10c
to
4dcf177
Compare
onmatch() { | ||
ReactDOM.render( | ||
const root = createRoot(this[0]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just question, what do we have in this[0]
exactly? Probably we could add a short comment to explain this in code snippet.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this[0]
is a fairly common way in jQuery to say "Give me the underlying node that this jQuery object represents so I can use it with non-jQuery code". I'll add a comment when you've done with your review and assigned it back.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This part is no longer in this PR - see #247 instead.
Looks good. Could you add comments for this, please. |
4dcf177
to
2d584b3
Compare
Remove mention of GraphQL v3
2d584b3
to
77ce46d
Compare
@sabina-talipova Do you remember what comments you wanted on this? |
In this comment you mentioned that you will update comment for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGFM. Tested locally. Provided example works.
Following on from #211, removes mention of GraphQL v3 and updates javascript to work with the CMS 5 dependencies.
Issue