Skip to content

Instantly share code, notes, and snippets.

@jeremyschlatter
Created July 25, 2017 02:36
Show Gist options
  • Star 9 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeremyschlatter/c35c6bfa568e5a40440cb2fefcc7fd4e to your computer and use it in GitHub Desktop.
Save jeremyschlatter/c35c6bfa568e5a40440cb2fefcc7fd4e to your computer and use it in GitHub Desktop.
Render React inline from a Jupyter notebook cell
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jeremyschlatter
Copy link
Author

JavaScript is disabled for gists, so you can't see the rendered output above. If you run the notebook yourself, you will see this as the final output:

Hello from Python and React!

@tvogels
Copy link

tvogels commented Jun 18, 2019

Thanks for sharing this!

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