
Security News
MCP Steering Committee Launches Official MCP Registry in Preview
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
prototype-controls
Advanced tools
Control aspects of your prototype within the prototype itself.
Control aspects of your prototype within the prototype itself.
Bootstrapped with create-react-app-minimal.
To activate the controls, simply press Ctrl + =. Press the same combination to close them.
npm install prototype-controls
Import PrototypeControls directly and use it as a React wrapper component.
import React from 'react'
import PrototypeControls from 'prototype-controls'
class App extends Component {
handleNameChange = e =>
this.setState({ name: e.target.value })
handleFillInNameClick = () =>
this.setState({ name: 'Elise' })
render = () =>
<div>
<div>
<label>Enter your name</label>
<input type="text" onChange={this.handleNameChange} value={this.state.name} />
</div>
<PrototypeControls>
<button onChange={this.handleFillInNameClick}>Fill in name</button>
</PrototypeControls>
</div>
}
You're welcome to fork and/or contribute pull-requests and issues to the project.
git clone https://github.com/jonathanconway/prototype-controls
cd prototype-controls
npm install
npm start
npm test
FAQs
Control aspects of your prototype within the prototype itself.
We found that prototype-controls demonstrated a not healthy version release cadence and project activity because the last version was released 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
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.