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 helpers for hooking up SolidJS application with Solid Devtools


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

Solid Devtools Debugger

solid-devtools

A runtime package, used to get information and track changes of the Solid's reactivity graph. It's a cornerstone of the rest of the packages.

It comes with Extension Adapter and Locator packages included.

Usage Guide

Installation

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

Debugger

The most important piece of solid-devtools is the <Debugger> component. Debugger is a cornerstone of all solid-devtools. It analyses and tracks changes of Solid's reactive graph.

Wrap your application with it to use compatable devtools.

import { render } from "solid-js/web"
import { Debugger } from "solid-devtools"

render(
	() => (
		// Debugger will observe application passed to it as children.
		<Debugger>
			<App />
		</Debugger>
	),
	document.getElementById("root")!,
)
Debugger props

Debugger accepts props for controlling it's behavior.

  • locator Options for the Locator module.

The Locator module will be disabled by default. To enable it pass true or an options object to the locator prop.

<Debugger locator>
	<App />
</Debugger>

Changelog

See CHANGELOG.md.

Keywords

FAQs

Package last updated on 16 Jun 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