Skip to content
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

Modifying source prop after initial render throws an exception. #8

Open
pfgallagher opened this issue Mar 22, 2019 · 0 comments
Open

Comments

@pfgallagher
Copy link

Attempts to modify the source prop in an <Embed/> after the initial render result in the following error being thrown in the browser console:

Exception in event "callback": i is not a function d/this.handleMessage<@https://embed.runkit.com/:86:24

Based on the runkit embed docs, it appears that the underlying api call, notebook.setSource(source, callback), is not receiving the second argument, i.e. callback.

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

No branches or pull requests

1 participant