
Security News
OWASP 2025 Top 10 Adds Software Supply Chain Failures, Ranked Top Community Concern
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.
@lunit/use-opt-control
Advanced tools
@lunit/use-opt-control<InsightViewer>에서 사용되는 control={}, flip={}, invert={} 상태를 관리하는데 사용된다.
간단하게 사용하기 위해서 만들 Util이고, 필요한 경우 아래와 같이 사용해도 된다.
import { Control } from '@lunit/use-opt-control';
function Component() {
const [control, setControl] = useState<Control>('pen');
const [flip, setFlip] = useState<boolean>(false);
const [invert, setInvert] = useState<boolean>(false);
return <div>...</div>;
}
http://frontend-components-handbook.netlify.com/#/use-opt-control
npm install @lunit/use-opt-control
FAQs
Tool control hook
We found that @lunit/use-opt-control demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 open source maintainers 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
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.