0.0.16-17 • Published 6 years ago

@adminide-stack/client-redux v0.0.16-17

Weekly downloads
333
License
MIT
Repository
github
Last release
6 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. @@adminide-stack/INCREMENT_COUNTER 4. MUST have reducer in the form npm-module-or-app/reducer_name eg. @adminide-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.16-17

6 years ago

0.0.16-16

6 years ago

0.0.16-15

6 years ago

0.0.16-14

6 years ago

0.0.16-13

6 years ago

0.0.16-12

6 years ago

0.0.16-11

6 years ago

0.0.16-10

6 years ago

0.0.16-9

6 years ago

0.0.16-8

6 years ago

0.0.16-7

6 years ago

0.0.16-6

6 years ago

0.0.2-0.0.16-6.0

6 years ago

0.0.16-5

6 years ago

0.0.16-4

6 years ago

0.0.16-3

6 years ago

0.0.16-2

6 years ago

0.0.16-1

6 years ago

0.0.15-y.0

6 years ago

0.0.15-73

6 years ago

0.0.15-71

6 years ago

0.0.15-70

6 years ago

0.0.15-68

6 years ago

0.0.15-67

6 years ago

0.0.15-66

6 years ago

0.0.15-65

6 years ago

0.0.15-63

6 years ago

0.0.15-62

6 years ago

0.0.15-61

6 years ago

0.0.15-60

6 years ago

0.0.15-59

6 years ago

0.0.15-58

6 years ago

0.0.15-57

6 years ago

0.0.15-56

6 years ago

0.0.15-55

6 years ago

0.0.15-54

6 years ago

0.0.15-53

6 years ago

0.0.15-52

6 years ago

0.0.15-50

6 years ago

0.0.15-49

6 years ago

0.0.15-48

6 years ago

0.0.15-47

6 years ago

0.0.15-46

6 years ago

0.0.15-45

6 years ago

0.0.15-44

6 years ago

0.0.15-43

6 years ago

0.0.15-42

6 years ago

0.0.15-41

6 years ago

0.0.15-40

6 years ago

0.0.15-39

6 years ago

0.0.15-38

6 years ago

0.0.15-37

6 years ago

0.0.15-36

6 years ago

0.0.15-35

6 years ago

0.0.15-34

6 years ago

0.0.15-33

6 years ago

0.0.15-32

6 years ago

0.0.15-31

6 years ago

0.0.15-30

6 years ago

0.0.15-29

6 years ago

0.0.15-28

6 years ago

0.0.15-27

6 years ago

0.0.15-26

6 years ago

0.0.15-25

6 years ago

0.0.15-24

6 years ago

0.0.15-23

6 years ago

0.0.15-22

6 years ago

0.0.15-21

6 years ago

0.0.15-20

6 years ago

0.0.15-19

6 years ago

0.0.15-18

6 years ago

0.0.15-17

6 years ago

0.0.15-16

6 years ago

0.0.15-15

6 years ago

0.0.15-14

6 years ago

0.0.15-13

6 years ago

0.0.16-0

6 years ago

0.0.15-12

6 years ago

0.0.15-10

6 years ago

0.0.15-9

6 years ago

0.0.15-8

6 years ago

0.0.15-7

6 years ago

0.0.15-6

6 years ago

0.0.15-5

6 years ago

0.0.15-4

6 years ago

0.0.15-3

6 years ago

0.0.15-2

6 years ago

0.0.15-1

6 years ago

0.0.15-0

6 years ago

0.0.14-1

6 years ago

0.0.14-0

6 years ago

0.0.13-0

6 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.9

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago