The current instructions for embedding reactpy do not appear to work #1216
Unanswered
AjBreidenbach
asked this question in
Problem
Replies: 1 comment
-
It would probably make sense to have a different description, but I suppose this would be a subtask of #863 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The problem
The current instructions (from https://github.com/reactive-python/reactpy/blob/main/docs/source/guides/getting-started/_static/embed-doc-ex.html) are:
When I attempt to do the same, I get the following console error:
Website documentation is out of sync with new-docs branch
The same embedding snippet is present here, but appears to have been removed from the docs in d0e3628
https://reactpy.dev/docs/guides/getting-started/running-reactpy.html#embed-in-an-existing-webpage
Looking at the CDN
https://esm.sh/@reactpy/client@0.3.1
https://esm.sh/v135/@reactpy/client@0.3.1/es2022/client.mjs appears to have only the following exports
What will probably work for most people
Running the debugger and checking out the definitions in the sourcemap, I assume this is what we're supposed to do now:
Beta Was this translation helpful? Give feedback.
All reactions