0.0.16-17 • Published 7 years ago

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

Weekly downloads
333
License
MIT
Repository
github
Last release
7 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

7 years ago

0.0.16-16

7 years ago

0.0.16-15

7 years ago

0.0.16-14

7 years ago

0.0.16-13

7 years ago

0.0.16-12

7 years ago

0.0.16-11

7 years ago

0.0.16-10

7 years ago

0.0.16-9

7 years ago

0.0.16-8

7 years ago

0.0.16-7

7 years ago

0.0.16-6

7 years ago

0.0.2-0.0.16-6.0

7 years ago

0.0.16-5

7 years ago

0.0.16-4

7 years ago

0.0.16-3

7 years ago

0.0.16-2

7 years ago

0.0.16-1

7 years ago

0.0.15-y.0

7 years ago

0.0.15-73

7 years ago

0.0.15-71

7 years ago

0.0.15-70

7 years ago

0.0.15-68

7 years ago

0.0.15-67

7 years ago

0.0.15-66

7 years ago

0.0.15-65

7 years ago

0.0.15-63

7 years ago

0.0.15-62

7 years ago

0.0.15-61

7 years ago

0.0.15-60

7 years ago

0.0.15-59

7 years ago

0.0.15-58

7 years ago

0.0.15-57

7 years ago

0.0.15-56

7 years ago

0.0.15-55

7 years ago

0.0.15-54

7 years ago

0.0.15-53

7 years ago

0.0.15-52

7 years ago

0.0.15-50

7 years ago

0.0.15-49

7 years ago

0.0.15-48

7 years ago

0.0.15-47

7 years ago

0.0.15-46

7 years ago

0.0.15-45

7 years ago

0.0.15-44

7 years ago

0.0.15-43

7 years ago

0.0.15-42

7 years ago

0.0.15-41

7 years ago

0.0.15-40

7 years ago

0.0.15-39

7 years ago

0.0.15-38

7 years ago

0.0.15-37

7 years ago

0.0.15-36

7 years ago

0.0.15-35

7 years ago

0.0.15-34

7 years ago

0.0.15-33

7 years ago

0.0.15-32

7 years ago

0.0.15-31

7 years ago

0.0.15-30

7 years ago

0.0.15-29

7 years ago

0.0.15-28

7 years ago

0.0.15-27

7 years ago

0.0.15-26

7 years ago

0.0.15-25

7 years ago

0.0.15-24

7 years ago

0.0.15-23

7 years ago

0.0.15-22

7 years ago

0.0.15-21

7 years ago

0.0.15-20

7 years ago

0.0.15-19

7 years ago

0.0.15-18

7 years ago

0.0.15-17

7 years ago

0.0.15-16

7 years ago

0.0.15-15

7 years ago

0.0.15-14

7 years ago

0.0.15-13

7 years ago

0.0.16-0

7 years ago

0.0.15-12

7 years ago

0.0.15-10

7 years ago

0.0.15-9

7 years ago

0.0.15-8

7 years ago

0.0.15-7

7 years ago

0.0.15-6

7 years ago

0.0.15-5

7 years ago

0.0.15-4

7 years ago

0.0.15-3

7 years ago

0.0.15-2

7 years ago

0.0.15-1

7 years ago

0.0.15-0

7 years ago

0.0.14-1

7 years ago

0.0.14-0

7 years ago

0.0.13-0

7 years ago

0.0.12

7 years ago

0.0.11

7 years ago

0.0.9

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago