You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that when rendering Reactable in quarto, ipyreact (or something else in the process) attempts to fetch require.min.js and embed-amd.js from a CDN. Let's investigate whether it's possible to output fully self-contained Reactable tables--either as a default, or by setting an option.
Some key considerations:
output should appear in notebook or rendered quarto document
it's okay if output is only self contained when using quarto, etc..
we should be mindful of file size (e.g. when self-contained flag is off)
Note that it sounds like migrating from ipyreact to directly using anywidgets is a common approach (as ipyreact is a lightweight wrapper around anywidgets, which is useful for prototyping!).
The text was updated successfully, but these errors were encountered:
Looking at the network requests, it appears ipyreact first looks for the javascript code off the relative path. E.g. if the table lives at example.com/my_table.html, it looks for example.com/@widgetti/jupyter-react.js.
I wonder if this can be customized at all? (e.g. to always point to example.com/assets/jupyter-react.js etc..)
It appears that when rendering Reactable in quarto, ipyreact (or something else in the process) attempts to fetch require.min.js and embed-amd.js from a CDN. Let's investigate whether it's possible to output fully self-contained Reactable tables--either as a default, or by setting an option.
Some key considerations:
Useful code paths:
Note that it sounds like migrating from ipyreact to directly using anywidgets is a common approach (as ipyreact is a lightweight wrapper around anywidgets, which is useful for prototyping!).
The text was updated successfully, but these errors were encountered: