All Projects → HorusGoul → react-component-pack

HorusGoul / react-component-pack

Licence: MIT License
Library that allows you to create context provider groups

Programming Languages

typescript
32286 projects
HTML
75241 projects

Projects that are alternatives of or similar to react-component-pack

po-util
Classic Edition of po-util: The Ultimate Local Particle Experience for Linux and macOS
Stars: ✭ 51 (+59.38%)
Mutual labels:  utility
chai
Don't let your Mac fall asleep, like a sir
Stars: ✭ 54 (+68.75%)
Mutual labels:  utility
vimclip
Never type outside vim again
Stars: ✭ 70 (+118.75%)
Mutual labels:  utility
to-no-case
Remove an existing case from a string.
Stars: ✭ 15 (-53.12%)
Mutual labels:  utility
action-sync-node-meta
GitHub Action that syncs package.json with the repository metadata.
Stars: ✭ 25 (-21.87%)
Mutual labels:  utility
SimpleCore
.NET C# common/utilities library
Stars: ✭ 11 (-65.62%)
Mutual labels:  utility
HashKode
Kotlin hashcode utilities
Stars: ✭ 15 (-53.12%)
Mutual labels:  utility
multipurpose-bot
a multipurpose discord bot made with dbd.js
Stars: ✭ 32 (+0%)
Mutual labels:  utility
EnhanceDiskUtility
SIMBL plugin for Disk Utility that aims to enable Verify / Repair Permissions support
Stars: ✭ 17 (-46.87%)
Mutual labels:  utility
proxy-pants
Secured and reliable Proxy based utilities for more or less common tasks.
Stars: ✭ 36 (+12.5%)
Mutual labels:  utility
windows-Credential-Provider-library
This repository will be updated with all the examples and links that I can find with relevant knowledge & information about CP in MS Windows vista up to version 10.
Stars: ✭ 122 (+281.25%)
Mutual labels:  providers
missing
A utility library for Clojure of functions and macros that complement clojure.core
Stars: ✭ 26 (-18.75%)
Mutual labels:  utility
oc-bootstrapper
Easily bootstrap a new October CMS project
Stars: ✭ 86 (+168.75%)
Mutual labels:  utility
goto
Goto - The Good Way to Program
Stars: ✭ 14 (-56.25%)
Mutual labels:  utility
Hytilities
Hypixel-focused Quality of Life mod.
Stars: ✭ 53 (+65.63%)
Mutual labels:  utility
couchbackup
CouchDB backup and restore command-line utility.
Stars: ✭ 15 (-53.12%)
Mutual labels:  utility
task-completed-checker-action
☑️ A GitHub action that checks if all tasks are completed in the pull requests.
Stars: ✭ 30 (-6.25%)
Mutual labels:  utility
powerlet
⚡️ Chrome Extension to quickly find and run bookmarklets
Stars: ✭ 17 (-46.87%)
Mutual labels:  utility
awesome-list-rpc-nodes-providers
A curated list of awesome Node providers and public PRC endpoints for Ethereum, BSC, xDAI, Fantom, Avalanche and more :)
Stars: ✭ 39 (+21.88%)
Mutual labels:  providers
ExecutionMaster
Windows utility for intercepting process creation and assigning standard actions to program startup
Stars: ✭ 54 (+68.75%)
Mutual labels:  utility

React Component Pack · npm version license

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-pack

Usage

With react-component-pack you can go from this:

function App() {
  return (
    <AuthProvider>
      <DataProvider>
        <AnotherDataProvider>
          <WtfProvider>
            <ThisIsGettingReallyBigProvider>
              <OhMyGodTheresMoreProvider>
                <FinallySomeRealComponents />
              </OhMyGodTheresMoreProvider>
            </ThisIsGettingReallyBigProvider>
          </WtfProvider>
        </AnotherDataProvider>
      </DataProvider>
    </AuthProvider>
  );
}

To this:

import { createPack } from 'react-component-pack';

const ProviderPack = createPack(
  AuthProvider,
  DataProvider,
  AnotherDataProvider,
  WtfProvider,
  ThisIsGettingReallyBigProvider,
  OhMyGodTheresMoreProvider
);

function App() {
  return (
    <ProviderPack>
      <FinallySomeRealComponents />
    </ProviderPack>
  );
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].