
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
react-powerplug
Advanced tools
React PowerPlug is a set of pluggable renderless components and helpers that provides different types of state and logic utilities that you can use with your dumb components. It creates state and passes down the logic to the children, so you can handle your data. Read about the Render Props pattern.
import { State, Toggle } from 'react-powerplug'
import { Pagination, Tabs, Checkbox } from './MyDumbComponents'
<State initial={{ offset: 0, limit: 10, totalCount: 200 }}>
{({ state, setState }) => (
<Pagination {...state} onChange={(offset) => setState({ offset })} />
)}
</State>
<Toggle initial={true}>
{({ on, toggle }) => (
<Checkbox checked={on} onChange={toggle} />
)}
</Toggle>
// You can also use a `render` prop instead
<Toggle
initial={false}
render={({ on, toggle }) => (
<Checkbox checked={on} onChange={toggle} />
)}
/>
http://rena.to/react-powerplug/
yarn add react-powerplug
npm i react-powerplug
<script src="https://unpkg.com/react-powerplug/dist/react-powerplug.min.js"></script>
exposed as ReactPowerPlug
Thanks goes to these wonderful people (emoji key):
Renato Ribeiro 💻 🎨 📖 ⚠️ | Bogdan Chadkin 💻 📖 ⚠️ 🚇 | Travis Arnold 💻 📖 🐛 | Max Graey 💻 | Mateusz Burzyński 🐛 | Andy Edwards 💻 | Andrea Vanini 🐛 |
|---|---|---|---|---|---|---|
Ivan Starkov 🐛 | Sean Roberts 📖 | Braden Kelley 🐛 |
This project follows the all-contributors specification. Contributions of any kind welcome!
You can help improving this project sending PRs and helping with issues.
Also you can ping me at Twitter
FAQs
Give life to your dumb components
The npm package react-powerplug receives a total of 9,355 weekly downloads. As such, react-powerplug popularity was classified as popular.
We found that react-powerplug demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.