Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
react-hooks-extended
Advanced tools
- `Don't use in production, you can copy paste any hook into your code.` - `made only to try new tools & write more TS` - [React](https://reactjs.org/) - [TypeScript](https://www.typescriptlang.org/) ❤ - [Nx](https://nx.dev/) `Monorepo tool` - [Do
Don't use in production, you can copy paste any hook into your code.
made only to try new tools & write more TS
Monorepo tool
Easy to create Docs ❤
npm i react-hooks-extended
yarn add react-hooks-extended
function Example() {
const { count, increment, decrement, reset } = useCounter();
return (
<div>
<p>Count: {count}</p>
<button onClick={increment}>Increment</button>
<button onClick={decrement}>Decrement</button>
<button onClick={reset}>Reset</button>
</div>
);
}
Run playground server on port: 3000
yarn start
Run documentation server on port: 3001
yarn docs
##All Hooks are documented Here!
There's alot of hooks can be done. try by yourself and you can find some tutorial online and codes you can learn from.
FAQs
- `Don't use in production, you can copy paste any hook into your code.` - `made only to try new tools & write more TS` - [React](https://reactjs.org/) - [TypeScript](https://www.typescriptlang.org/) ❤ - [Nx](https://nx.dev/) `Monorepo tool` - [Do
We found that react-hooks-extended 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.