🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP β†’
Sign In

@stagewise/toolbar-react

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stagewise/toolbar-react - npm Package Compare versions

Comparing version
0.4.8
to
0.4.9
+2
-5
dist/index.js

@@ -7,11 +7,8 @@ import { initToolbar } from "@stagewise/toolbar";

}) {
if (!enabled) {
return null;
}
const isLoaded = useRef(false);
useEffect(() => {
if (isLoaded.current) return;
if (isLoaded.current || !enabled) return;
isLoaded.current = true;
initToolbar(config);
}, [config]);
}, [config, enabled]);
return null;

@@ -18,0 +15,0 @@ }

@@ -9,11 +9,8 @@ (function(global, factory) {

}) {
if (!enabled) {
return null;
}
const isLoaded = react.useRef(false);
react.useEffect(() => {
if (isLoaded.current) return;
if (isLoaded.current || !enabled) return;
isLoaded.current = true;
toolbar.initToolbar(config);
}, [config]);
}, [config, enabled]);
return null;

@@ -20,0 +17,0 @@ }

{
"name": "@stagewise/toolbar-react",
"private": false,
"version": "0.4.8",
"version": "0.4.9",
"type": "module",

@@ -24,3 +24,3 @@ "files": [

"dependencies": {
"@stagewise/toolbar": "0.4.8"
"@stagewise/toolbar": "0.4.9"
},

@@ -27,0 +27,0 @@ "devDependencies": {

@@ -34,3 +34,3 @@ # <img src="https://github.com/stagewise-io/assets/blob/main/media/logo.png?raw=true" alt="stagewise logo" width="48" height="48" style="border-radius: 50%; vertical-align: middle; margin-right: 8px;" /> stagewise

### 1. 🧩 **Install the vs-code extension**
### 1. 🧩 **Install the code editor extension (Cursor, Windsurf, VS Code)**

@@ -273,7 +273,7 @@ Install the extension here: https://marketplace.visualstudio.com/items?itemName=stagewise.stagewise-vscode-extension

| -------------- | -------------- |
| Cursor | βœ… |
| GitHub Copilot | βœ… |
| Windsurf | βœ… |
| Cline | βœ… |
| Roo-code | βœ… |
| Cursor | βœ… |
| GitHub Copilot | βœ… |
| Windsurf | βœ… |
| Cline | βœ… |
| Roo Code | βœ… |

@@ -280,0 +280,0 @@