react-powerplug: version 1.0.0 in package.json, newest tag a release candidate from 2018
:electric_plug: Renderless Containers
At a glance
- What is it?
- A dependency free set of renderless React components whose README runs to under 300 words, and whose test script never invokes the Flow or TypeScript checkers the project installs. What the tree and package.json show is a library that reached 1.0.0 in its manifest without ever publishing the stable tag, while commits continued into 2026.
- Who is it for?
- react-powerplug fits a codebase that has already decided on the render props pattern and wants state and logic kept out of its presentational components. It does not fit a team that expects the package metadata to describe the published artifact.
- Can I use it commercially?
- Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Activity is slowing. The repository last received commits 8 months ago.
- What is it written in?
- Mainly JavaScript, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 25, 2026, and from our analysis. They are not legal advice.
Star history
- renatorib/react-powerplug2,674 ★ · +1
| Repository | 2026-10-04 | 2026-11-25 |
|---|---|---|
| renatorib/react-powerplug | 2.7k | 2.7k |
1 Stars in the last 52 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
package.json says 1.0.0, and the newest published tag is a 2018 release candidate
The version field in package.json is 1.0.0. The published releases stop at v1.0.0-rc.1, dated 2018-07-02, preceded by rc.0 in June 2018 and alpha.5 in May 2018. So the manifest claims a stable version number that no release tag carries, and a package manager installing from the repository gets 1.0.0 while a package manager installing from the registry gets a release candidate. Nothing in the README mentions versions, stability or a migration path, so the discrepancy is only visible in the two files side by side. The commit history does not look frozen: the repository is not archived and the last push on the default branch master is dated 2026-03-08, which is eight months after the newest tag. Something has been landing in the tree for years without a release following it.
The test script never runs flow check or dtslint
Two type systems are installed and configured. There is a flowconfig at the top level, a typecheck:flow script running flow check --max-warnings=0, and a typecheck:ts script running dtslint against the types directory. The published types entry points at types/index.d.ts. What the test script does is this:
npm run build && npm run lint && jest && npm run test:umd && npm run test:cjs
Build, then eslint over src and tests, then jest three times. Neither typecheck script appears. A lint pass and three jest runs are the entire gate, so a change that breaks the Flow annotations or the declaration files passes as long as the runtime behaviour holds. The two typecheck scripts exist and can be run by hand, but nothing in the package.json wires them into the sequence a contributor is expected to run.
The Flow declaration file is written by echo, not generated from source
The build is three steps: clean with rimraf, rollup -c for the code, and build:flow for types. The third step is a shell redirect. The build:flow script echoes a fixed string, a flow pragma followed by a blank line and an export of everything from ../src, and writes it to dist/react-powerplug.cjs.js.flow. No compiler reads src to produce that file, and nothing checks whether the re-export matches what the CommonJS bundle actually exports. It is a hand written stub that survives because it is never verified against anything. The TypeScript side is different in kind: the declarations live in types/index.d.ts and are checked by dtslint, so at least one of the two type surfaces has something behind it, provided somebody runs that script.
Jest runs three times and boots a browser to test a library with no runtime dependencies
The jest block in package.json points globalSetup and globalTeardown at jest-environment-puppeteer, so running the suite launches a browser even though the package itself installs nothing at runtime. Three passes are defined. Plain jest, then test:umd and test:cjs, each passing a different setup file, ./tests/jestUMDSetup.js and ./tests/jestCJSSetup.js, through the --setupTestFrameworkScriptFile option. That is how the built bundles get exercised: the library is built with rollup into a CommonJS file and an ES module file, and two of the three test runs load those artifacts instead of the source. transformIgnorePatterns lists both /node_modules/ and /dist/, meaning files under dist are handed to jest untransformed, exactly as rollup emitted them. The bundle names are the point of the exercise, since main and module point at those two files.
Three documentation addresses, and the one in the README is not the one in the manifest
The README points its Guide and Documentation line at a short address on rena.to, and separately links an egghead lesson on rapid prototyping with the library. The homepage recorded for the repository is a github.io address instead. A third location exists in the scripts: docz:build followed by gh-pages -d .docz/dist, with doczrc.js and a docs directory in the tree, so the documentation site is built by docz and published to a gh-pages output directory. Nobody checks that these three agree. The README also sends readers to the render props documentation through an absolute URL on the reactjs.org domain, which is the pattern the whole library is built on, so the one piece of conceptual documentation the project depends on lives outside it and the project does not control its wording.
The quick example imports three of its five components from your own file
The only code sample in the README is a pair of render props blocks.
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>Two names come from the package, State and Toggle. Pagination, Tabs and Checkbox are imported from a file in your own project, which is the library's premise stated as an import statement: the container holds state and passes logic down, the presentational component stays yours. The Toggle block then shows the same thing again through a render prop instead of a child function. Against that, the highlights list promises dependency free, tree shaking friendly, super tiny at about 3kb, well documented, and a bunch of awesome utilities, without naming a single one of those utilities.
Four artifacts are named for distribution, and none of them is called powerplug
Installation is offered three ways.
yarn add react-powerplug
npm i react-powerplugand as a UMD bundle loaded from unpkg, exposed on the global as ReactPowerPlug. The entry points underneath those three doors are four separate names. main is dist/react-powerplug.cjs.js, module is dist/react-powerplug.esm.js, types is types/index.d.ts, and the script tag points at dist/react-powerplug.min.js, a fourth filename that the rollup configuration has to produce. The published files array ships dist, src and types, so the source travels with the build. A size-snapshot.json sits in the tree, which is where the about 3kb claim in the highlights gets its backing, though nothing in the scripts recomputes it. Meanwhile the repository carries two different one line descriptions: the short repository description is an emoji shortcode followed by Renderless Containers, and the manifest says Give life to your dumb components.
Editorial conclusion
react-powerplug fits a codebase that has already decided on the render props pattern and wants state and logic kept out of its presentational components. It does not fit a team that expects the package metadata to describe the published artifact. Check three things first. The version in package.json is 1.0.0 while the newest published tag is v1.0.0-rc.1 from 2018-07-02, so decide which of the two you are installing. The Flow declaration file is produced by echoing a re-export line rather than by running the compiler, so treat the Flow types as a stub. And the test script runs the build, lint and three jest passes without ever calling flow check or dtslint, so a green test run says nothing about either type surface. The repository is not archived and its last push is dated 2026-03-08.
Frequently asked questions
What does react-powerplug actually provide?
A set of pluggable renderless components and helpers that create state and pass the logic down to children, so presentational components stay plain. The quick example imports State and Toggle from the package and Pagination, Tabs and Checkbox from a local MyDumbComponents file of your own.
How do I install react-powerplug?
Three documented paths: yarn add react-powerplug, npm i react-powerplug, or a UMD script from unpkg which exposes the library as the ReactPowerPlug global. The manifest points main at dist/react-powerplug.cjs.js and module at dist/react-powerplug.esm.js.
Does react-powerplug ship TypeScript and Flow types?
The types entry points at types/index.d.ts and is checked by a dtslint script, while the Flow declaration file dist/react-powerplug.cjs.js.flow is produced by echoing a fixed re-export line during the build. Neither flow check nor dtslint is part of the test script.
Where is the react-powerplug documentation?
The README links its guide to a rena.to address and an egghead lesson, the repository homepage is a github.io address, and the docz:publish script builds the docs with docz and deploys them to gh-pages from .docz/dist. The three addresses are not checked against each other.
What does the react-powerplug test script run?
It runs npm run build, then eslint over src and tests, then jest three times: once plain, once with the UMD setup file and once with the CommonJS setup file. The jest configuration uses jest-environment-puppeteer for global setup and teardown, and transformIgnorePatterns leaves node_modules and dist untransformed.
How many dependencies does react-powerplug have at runtime?
The highlights call it dependency free, and the manifest declares no runtime dependencies of its own. The build side is heavier: rollup for the bundles, jest with a puppeteer environment, eslint, prettier, flow, dtslint and docz, with yarn.lock and babel.config.js in the tree.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/renatorib-react-powerplug)Star history chart for your README
[](https://hysenlabs.com/projects/renatorib-react-powerplug)Was this useful?