A tiny React state management library using hooks.
const [StateProvider, useDakpan, withDakpan] = createDakpan({
hello: 'world'
})({
append: (value: string) => ({ hello }) => ({
hello: hello + value
})
});
npm install dakpan
or
yarn add dakpan
You can find the documentation here.