JSPM

tweak-tools

0.1.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q29031F
  • License MIT

Tweak your React projects until awesomeness

Package Exports

  • tweak-tools
  • tweak-tools/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (tweak-tools) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

tweak-tools

Easy tweaking for your React projects to customize until greatness 🦄 🚀

npm (tag) npm bundle size

Installation

npm i tweak-tools

Quick start

Simply call the useTweaks hook from anywhere in your app:

import { useTweaks } from 'tweak-tools'

function MyComponent() {

  const { name, count } = useTweaks({ name: 'World', count: 0 })

  return (
    <div>
      Hey {name}, hello! {count}
    </div>
  )
}