在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:preactjs/preact-devtools开源软件地址:https://github.com/preactjs/preact-devtools开源编程语言:TypeScript 84.6%开源软件介绍:Preact DevtoolsBrowser extension that allows you to inspect a Preact component hierarchy, including props and state. Requires Preact >=10.1.0 UsageFirstly, we need to import // Must be the first import
import "preact/debug";
// Or if you just want the devtools bridge (~240B) without other
// debug code (useful for production sites)
import "preact/devtools"; Then, download the Preact Devtools extension for your browser: Contributing
Chrome:
Firefox:
For extension reviewersThese commands will build the extension and load it into a browser with a temporary profile. The browser will automatically navigate to preactjs.com. There you can test the extension. Chrome:
Firefox:
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论