@hookstate/core

v4.0.0-rc.3
The flexible, fast and extendable state management for React that is based on hooks and state usage tracking.

build

rollup -c

build:w

rollup -c -w

build:docs

typedoc --plugin typedoc-plugin-markdown --hideBreadcrumbs --tsconfig ./tsconfig.typedoc.json --exclude "dist/**.js" --gitRevision master --includeDeclarations --excludeExternals --excludeNotExported --categorizeByGroup false --readme none --hideGenerator --mode file --out dist/docs && concat-md --decrease-title-levels --dir-name-as-title dist/docs > dist/typedoc.md && rimraf dist/docs && replace '></a>' '/>' dist/typedoc.md && replace 'Ƭ [*][*]([A-Za-z0-9]+)[*][*]: [*](.*)[*]' 'Ƭ **$1**: *`$2`*' dist/typedoc.md && replace 'Ƭ [*][*]State[*][*]: [*](.*)[*]' 'Ƭ **State**: *[StateMixin](#interfacesstatemixinmd) & `S extends object` ? `{ readonly [K in keyof Required<S>]: State<S[K]> }` : [StateMethods](#interfacesstatemethodsmd)*' dist/typedoc.md && replace '[(]statemethods.md#\[self\][)]' '(#self)' dist/typedoc.md && replace '[(]statemixin.md#\[self\][)]' '(#self-1)' dist/typedoc.md && replace '[(]statemixindestroy.md#\[self\][)]' '(#self-2)' dist/typedoc.md && replace '# @hookstate/core' '' dist/typedoc.md && replace '<a name="readmemd"/>' ' --- id: typedoc-hookstate-core title: API @hookstate/core ---' dist/typedoc.md && replace ' (---)' '$1' dist/typedoc.md && mv dist/typedoc.md ../docs/index/docs/typedoc-hookstate-core.md

clean

rimraf dist

test

cross-env CI=1 jest --verbose --env=jsdom

test:w

jest --env=jsdom --watch

release

npm publish

update:deps

ncu -u
npm i @hookstate/[email protected]

Metadata

  • MIT
  • Whatever
  • Andrey Konstantinov
  • released 5/28/2022

Downloads

Maintainers