Closed eiymba closed 1 year ago
I will cut a new release today and will apply the steps you describe (they sound good at first read). Maybe there is a glitch in the doc. Let me double-check and fix.
@datalayer/jupyter-react
0.3.0 is released and the steps to use it in a create-react-app are detailled on https://jupyter-ui.datalayer.tech/docs/examples/cra
BTW your error may be due to React Strict Mode which is not supported ATM https://jupyter-ui.datalayer.tech/docs/examples/cra/index.html#strict-mode - Before changing everything, you may give a try simply by removing the use of StrickMode.
@echarles Ah, yes! I did wonder about. Actually, removing it did solve the problem for me, so apologies for your inconvenience.
Thanks for your help! 🙏 I will upgrade to the new release to play with too.
Description
Hello! I'm trying to use the
<Notebook>
element provided by the library, but unfortunately it throws an error in the console and nothing is rendered? The console shows this:Reproduce
public/index.html
file, as suggested in the docs, and here./notebooks
directory in my project)Inside
App.tsx
, I deleted all the boiler plate and imported the library, e.g.Expected behavior
A nice, wonderful notebook rendered. ✨🚀
Context
Browser Output
Environment
Python environment dependencies
Node dependencies
Happy to provide more information. Thanks!