Skip to content

IPYReact sample mono-repo starter project #69

Description

@paddymul

I am looking at porting my package over to ipyreact to have a better supported buildchain.

Here is what I would like (and will stumble at points while building).

  1. a single repo with python and js code
  2. the JS inside that repo should be separate and look like a normal JS package to a js dev looking at it.
  3. The JS should build and push to an NPM module and function as a JS module wihtout needing any of ipyreact, esbuild, backbone, or ipywidgets js code
  4. The python code should use the ESM module pattern and build properly

nice to haves
local-dev mode where you can write JS features and have them avaiable to IPYReact without having to publish to npm, for local development

The stack that I have very close to working

I followed a vite demo and can build a package that works (minus css) with IPYReact.

Do you have a strong preference for another JS Build stack?
Is this project interesting to you? I think it will be useful for asking debugging questions even if you don't include it in official docs.

Activity

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

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