Check out the new extension.
#PygWalker, GraphicWalker
Check out the new extension.
#PygWalker, GraphicWalker
Very cool! Just last week I was trying to wrap graphic-walker
in a ReactComponent
and had to give up due to some inscrutable JavaScript errors. I’m definitely going to take a look at what you’ve done here.
The main tip that probably needs to be emphasized more in the docs is that you should absolutely define an _importmap
rather than importing directly from the URL. Otherwise for React you may also have to ensure that you are not getting clashing versions of React and its dependencies and make use of some of the esm.sh
specifiers like ?deps
and ?external
to ensure a shared version of React is used.
Thanks for the tip. I actually did do that, but the error I got was something about how the P.current
ref was undefined. I’m not super familiar with React but looking over @Marc 's code I can see that the defines these extra refs and then passes them into the object as props, so I guess that’s what I needed to do.
It will only improve now. There are lots of PRs ready or in progress to do so.
Looks cool! Out of curiosity, could you elaborate what it’s strengths/weaknesses are compared to the Perspective/Tabulator/HoloViews panes?
Pros
Cons