0.0.26 • Published 1 year ago

react-state-toolkit v0.0.26

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

React global store based exclusively on React build-in hooks useEffect, useMemo, useRef and useState. General structure inspired by @reduxjs/toolkit.

yarn add react-state-toolkit

All store elements actions/selectors/slices must be created following creation order/rules:

Only import actions/selectors using standard esm import to:

Use store importer importAction/importSelector sudo-import functions to:

Actions created with createAction and createAsyncAction will rethrow the error back to the caller! (After processing REJECTED action handler if such registered for async acton) And can be handle as shown:

0.0.25

1 year ago

0.0.26

1 year ago

0.0.24

1 year ago

0.0.23

1 year ago

0.0.22

1 year ago

0.0.21

1 year ago

0.0.20

1 year ago

0.0.19

1 year ago

0.0.18

1 year ago

0.0.17

1 year ago

0.0.16

1 year ago

0.0.15

1 year ago

0.0.14

1 year ago

0.0.13

2 years ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago