Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 726 Bytes

README.md

File metadata and controls

31 lines (25 loc) · 726 Bytes

Logo npm minzipped size license

A tiny React state management library using hooks.

const [StateProvider, useDakpan, withDakpan] = createDakpan({
  hello: 'world'
})({
  append: (value: string) => ({ hello }) => ({
    hello: hello + value
  })
});

Installation

npm install dakpan

or

yarn add dakpan

Documentation

You can find the documentation here.