Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
solid-devtools
Advanced tools
The main package of Solid Devtools. It tracks the changes of the Solid runtime and connects to the chrome extension and other devtools.
It contains the following subpackages:
npm i solid-devtools
# or
yarn add solid-devtools
# or
pnpm add solid-devtools
All you need to do is import the devtools script in your app entry file, and the debugger will automatically find roots in your app and track them.
import "solid-devtools"
// and that's it!
Importing "solid-devtools"
package is attaching the debugger to your application and runs ext-adapter. In other words, it is creating a platform for other devtools to use. It doesn't provide any functionality by itself.
The solid-devtools
package comes with the Locator package included. It's not neccessary to use it! But you can.
Follow this guide of the locator package
solid-devtools
will execute the ext-adapter script on load, which will connect the debugger to the chrome extension. Now you can use the chrome extension to debug your application.
Follow this guide to setup the chrome extension
solid-devtools
reexports the babel plugin as a vite plugin.
Note In some cases import from
solid-devtools/vite
causes errors in loading vite config. I haven't figured out the cause yet. But to avoid the error, you can import from@solid-devtools/transform
instead.
To enable it you need to add it to plugins array in your .vite.config.js
file:
// vite.config.ts
import { defineConfig } from "vite"
import solid from "vite-plugin-solid"
import devtools from "solid-devtools/vite"
// or: import devtools from "@solid-devtools/transform"
export default defineConfig({
plugins: [devtools(), solid()],
})
See CHANGELOG.md.
FAQs
Runtime library for hooking up SolidJS application with Solid Devtools Extension
The npm package solid-devtools receives a total of 8,719 weekly downloads. As such, solid-devtools popularity was classified as popular.
We found that solid-devtools demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.