Skip to content

Fix labels with bindEvent() - #3160

Merged
wch merged 3 commits into
masterfrom
wch-bindevent-reactlog
Nov 23, 2020
Merged

wch merged 3 commits into
masterfrom
wch-bindevent-reactlog

Conversation

@wch

@wch wch commented Nov 20, 2020 •

Copy link
Copy Markdown
Collaborator

This is for rstudio/shinycoreci-apps#83.

The reactive graph now looks like this:
image

Note that the new private$currentThemeDependency node was introduced by #3116, and is expected.

This also changes the behavior of observe() %>% bindEvent() so that the original observer is modified in place.

Comment thread R/bind-event.R
Comment on lines +255 to +256
if (x$.execCount > 0) {
stop("Cannot call bindEvent() on an Observer that has already been executed.")

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@schloerke

Copy link
Copy Markdown
Collaborator

/document

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ wch
❌ runner


runner seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@MadhulikaTanuboddi

Copy link
Copy Markdown

Expected reactlog after the changes from #3206

Dec22-194-new-snapshot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants