Skip to content

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

Description

@pfgallagher

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions