0.0.56-18 • Published 5 years ago

@files-stack/client-redux v0.0.56-18

Weekly downloads
146
License
MIT
Repository
github
Last release
5 years ago

Redux Package

Redux npm package includes actions, action-types and reducers

  1. TypeScript and Redux: getting started
  2. TypeScript and Redux: async actions
  3. TypeScript and Redux: unit testing with Jest
  4. Integrating TypeScript and redux-thunk

What does it include:

1. exported reducers
2. exported actions
3. exported graphql queries
4. Typescript 2.0.0 => ES6
5. unit testing with jest

Purpose:

This package can be installable in front-end webserver to use the reducers and actions.

The goal is to make a isolated and reusable module that is self-contained. In order to avoid name conflicts, following rules need to be abide. 1. MUST export a function call reducer() 2. MUST export its action creators as functions 3. MUST have action types in the form @npm-module-or-app/ACTION_TYPE eg. @@files-stack/INCREMENT_COUNTER 4. MUST have reducer in the form npm-module-or-app/reducer_name eg. @files-stack/counter

What's not included

  • It does not have any client UI components such as React
  • It does not configure Redux Store

Useful commands:

npm run build       - build the library files
npm run test        - run tests once
npm run test:watch  - run tests in watchmode (Useful for development)

Files explained:

 src                         - directory is used for typescript code that is part of the project
    index.ts                 - Index file of the package. Consists of exported reducers and actions
    index.spec.ts            - Tests file for main
    actions                  - Contains Actions to transform the state tree
        index.ts             - References all the exported actions
    reducers                 - Contains reducers, pure function with (state, action) => state signature. 
        index.ts             - References all the exported reducers.
 package.json                - file is used to describe the library and packages that are required added under peer-dependencies section
 tsconfig.json               - configuration file for the library compilation
 webpack.config.js           - configuration file of the compilation automation process for the library
             
0.0.56-18

5 years ago

0.0.56-17

5 years ago

0.0.56-16

5 years ago

0.0.56-15

5 years ago

0.0.56-14

5 years ago

0.0.56-13

5 years ago

0.0.56-12

5 years ago

0.0.56-11

5 years ago

0.0.56-10

5 years ago

0.0.56-8

5 years ago

0.0.56-7

5 years ago

0.0.56-5

5 years ago

0.0.56-4

5 years ago

0.0.56-3

5 years ago

0.0.55-30

5 years ago

0.0.55-29

5 years ago

0.0.55-28

6 years ago

0.0.55-27

6 years ago

0.0.55-26

6 years ago

0.0.55-25

6 years ago

0.0.55-24

6 years ago

0.0.55-23

6 years ago

0.0.55-22

6 years ago

0.0.55-21

6 years ago

0.0.55-20

6 years ago

0.0.55-19

6 years ago

0.0.55-18

6 years ago

0.0.55-16

6 years ago

0.0.55-15

6 years ago

0.0.55-14

6 years ago

0.0.55-13

6 years ago

0.0.55-12

6 years ago

0.0.55-11

6 years ago

0.0.55-10

6 years ago

0.0.55-9

6 years ago

0.0.55-8

6 years ago

0.0.55-7

6 years ago

0.0.55-5

6 years ago

0.0.55-4

6 years ago

0.0.55-3

6 years ago

0.0.55-2

6 years ago

0.0.55-1

6 years ago

0.0.55-0

6 years ago

0.0.54

6 years ago

0.0.53

6 years ago

0.0.52

6 years ago

0.0.51

6 years ago

0.0.50

6 years ago

0.0.49

6 years ago

0.0.48

6 years ago

0.0.47

6 years ago

0.0.46

6 years ago

0.0.45

6 years ago

0.0.44

6 years ago

0.0.43

6 years ago

0.0.42

6 years ago

0.0.41

6 years ago

0.0.40

6 years ago

0.0.39

6 years ago

0.0.38

6 years ago

0.0.37

6 years ago

0.0.36

6 years ago

0.0.35

6 years ago

0.0.34

6 years ago

0.0.33

6 years ago

0.0.32

6 years ago

0.0.31

6 years ago

0.0.31-3

6 years ago

0.0.31-2

6 years ago

0.0.31-1

6 years ago

0.0.31-0

6 years ago

0.0.30

6 years ago

0.0.29

6 years ago

0.0.28-39

6 years ago

0.0.28-38

6 years ago

0.0.28-22

6 years ago

0.0.28-37

6 years ago

0.0.28-35

6 years ago

0.0.28-34

6 years ago

0.0.28-32

6 years ago

0.0.28-31

6 years ago

0.0.28-30

6 years ago

0.0.28-29

6 years ago

0.0.28-21

6 years ago

0.0.28-20

6 years ago

0.0.28-19

6 years ago

0.0.28-18

6 years ago

0.0.28-17

6 years ago

0.0.28-15

6 years ago

0.0.28-13

6 years ago

0.0.28-12

6 years ago

0.0.28-11

6 years ago

0.0.28-10

6 years ago

0.0.28-9

6 years ago

0.0.28-8

6 years ago

0.0.28-7

6 years ago

0.0.27-16

6 years ago

0.0.28-6

6 years ago

0.0.28-5

6 years ago

0.0.28-4

6 years ago

0.0.28-2

6 years ago

0.0.28-1

6 years ago

0.0.28-0

6 years ago

0.0.27-15

6 years ago

0.0.27-14

6 years ago

0.0.27-13

6 years ago

0.0.27-12

6 years ago

0.0.27-11

6 years ago

0.0.27-9

6 years ago

0.0.27-8

6 years ago

0.0.27-7

6 years ago

0.0.27-6

6 years ago

0.0.27-5

6 years ago

0.0.27-4

6 years ago

0.0.27-3

6 years ago

0.0.27-2

6 years ago

0.0.27-1

6 years ago

0.0.27-0

6 years ago

0.0.26-8

6 years ago

0.0.26-7

6 years ago

0.0.26-6

6 years ago

0.0.26-5

6 years ago

0.0.26-4

6 years ago

0.0.26-3

6 years ago

0.0.26-2

6 years ago

0.0.26-1

6 years ago

0.0.26

6 years ago

0.0.25

6 years ago

0.0.24

6 years ago

0.0.23

6 years ago

0.0.22

6 years ago

0.0.21

6 years ago

0.0.20

6 years ago

0.0.19

6 years ago

0.0.16

6 years ago

0.0.15

6 years ago

0.0.14

6 years ago

0.0.13

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago