Say goodbye to provider hell with react-component-pack, a utility that allows you to group multiple components into a single one
npm install react-component-packSay goodbye to provider hell with react-component-pack, a utility that allows you to group multiple components into a single one
``bash`
npm install react-component-pack
With react-component-pack you can go from this:
`jsx`
function App() {
return (
);
}
To this:
`jsx
import { createPack } from 'react-component-pack';
const ProviderPack = createPack(
AuthProvider,
DataProvider,
AnotherDataProvider,
WtfProvider,
ThisIsGettingReallyBigProvider,
OhMyGodTheresMoreProvider
);
function App() {
return (
);
}
``