custom-widgets icon indicating copy to clipboard operation
custom-widgets copied to clipboard

problem adding custom widget

Open metalbea opened this issue 4 years ago • 4 comments

Hello,

I am using React with typescript. I want to use a custom created widget and I am following this tutorial but when I run my application the custom widget isn't rendered. However, the weird part is: when I run my website with a compile error due to a syntax error in CustomWidget.ts, fix the error and hotreload it, the custom widget is displayed on my website but disappears again when I reload it.

I probably think it would be easier if I post my code as well but it has almost 100 lines so I'm not sure if I should paste it in my question as well

metalbea avatar Nov 19 '20 11:11 metalbea

Could you share a minimal live sample illustrating the issue?

tsv2013 avatar Nov 23 '20 14:11 tsv2013

Could you share a minimal live sample illustrating the issue?

how should I do that, screenrecord it?

metalbea avatar Nov 24 '20 12:11 metalbea

Share a minimal react application illustrating the issue or a CodeSandbox live sample. You can use this one as a staring point - https://codesandbox.io/s/crazy-rain-3wqj7?file=/src/customwidget.js It works ok for me.

tsv2013 avatar Dec 01 '20 09:12 tsv2013

https://codesandbox.io/s/dry-thunder-bmnru

metalbea avatar Dec 10 '20 12:12 metalbea