Skip to main content

Example of using a Science Capsule Widget in a Jupyterlab extension

Project description

React Widget

Create a React.js Widget in JupyterLab.

This extension shows how to use the ReactWidget wrapper from @jupyterlab/apputils to use React in a JupyterLab extension.

react-widget

Install

jlpm
jlpm build
jupyter labextension install .

# Rebuild Typescript source after making changes
jlpm build
# Rebuild JupyterLab after making any changes
jupyter lab build

You can watch the source directory and run JupyterLab in watch mode to watch for changes in the extension's source and automatically rebuild the extension and application.

# Watch the source directory in another terminal tab
jlpm watch
# Run jupyterlab in watch mode in one terminal tab
jupyter lab --watch

React Developer Tools

It is possible to use the React Developer Tools Chrome extension to inspect React components.

react-dev-tools

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

jupyterlab_scicap_ui-0.3.12-py3-none-any.whl (416.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page