preact-devtools icon indicating copy to clipboard operation
preact-devtools copied to clipboard

update preact-devtools npm

Open BartmanAbyss opened this issue 3 years ago • 3 comments

to use inline preact-devtools I have been trying to use the preact-devtools npm, however that seems quite a bit outdated (about 3 years). I managed to get it running via a manual inline build from here, but I guess it would be nice to have an updated package for easier TypeScript embedding.

BartmanAbyss avatar Aug 21 '22 15:08 BartmanAbyss

Thanks for opening an issue. Didn't update the npm package because no one needed it or has asked for it until now. Out of curiosity: Can you share more about your use case?

marvinhagemeister avatar Aug 21 '22 16:08 marvinhagemeister

Sure. I maintain a VSCode extension that has some webviews that use preact. https://github.com/BartmanAbyss/vscode-amiga-debug In the past I had to add special code to run the webview in a browser to use preact-devtools, but that was always a hassle.

BartmanAbyss avatar Aug 21 '22 16:08 BartmanAbyss

Oh sweet, that's an awesome use case 👍

marvinhagemeister avatar Aug 21 '22 21:08 marvinhagemeister