-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(anywidget): Hoist static assets (_esm, _css) to share among front-end widget instances #628
base: main
Are you sure you want to change the base?
Conversation
|
Will change it back once manzt/anywidget#628 is merged.
Will change it back once manzt/anywidget#628 is merged.
Will change it back once manzt/anywidget#628 is merged.
Will change it back once manzt/anywidget#628 is merged and manzt/anywidget#613 solved) Currently the tutorial page is 60 MB which is prohibitively large.
Towards #613
This PR is brings up some challenges for the ecosystem as a whole. I'm very tempted to go forward with #579. That would allow us to avoid the complexity of needing to work with ipywidgets (handling the comm ourself and messages), but currently all the ipywidgets container classes (e.g.,
Box
,HBox
,VBox
) do aninstanceof(widget, ipywidget.Widget)
check. That means if we were to introduce a more minimal base class foranywidget.AnyWidget
, they couldn't be used in those containers.