Socket
Socket
Sign inDemoInstall

solid-devtools

Package Overview
Dependencies
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

solid-devtools

Runtime library for hooking up SolidJS application with Solid Devtools Extension


Version published
Weekly downloads
9.6K
decreased by-19.68%
Maintainers
1
Weekly downloads
 
Created
Source

Solid Devtools

solid-devtools

pnpm version npm

The main client library. It reexports the most important tools and connects the client application to the chrome extension.

It contains the following subpackages:

Getting started

Installation

npm i solid-devtools
# or
yarn add solid-devtools
# or
pnpm add solid-devtools

Import the script

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!

Using the chrome extension

Importing the solid-devtools package will connect your Solid application to the chrome extension.

Follow this guide to use the extension

Using the locator package

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

Enabling the Babel plugin

solid-devtools reexports the babel plugin as a vite plugin.

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'

export default defineConfig({
  plugins: [devtools(), solid()],
})

See transform options

Changelog

See CHANGELOG.md.

Keywords

FAQs

Package last updated on 12 Oct 2022

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc