reactive-python/reactpy-jupyter

Importing JS Libraries is Broken

Closed this issue · 0 comments

There's several issues:

  • Server-sider IDOM doesn't know where to place installed JS modules so Jupyter can serve them up.
  • Client-side IDOM doesn't know where installed JS modules are being served.
  • Dynamically installed modules need to use the same React instance as IDOM... this one I don't really know how to solve. Continued below...

Since the React being used presently by the widget is bundled up and not immediately accessible I wonder if we need to do something completely different. That is, distribute the IDOM client separately from the Jupyter Widget... I need to learn more about this though.