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

8 years ago

0.0.15-49

8 years ago

0.0.15-48

8 years ago

0.0.15-47

8 years ago

0.0.15-46

8 years ago

0.0.15-45

8 years ago

0.0.15-44

8 years ago

0.0.15-43

8 years ago

0.0.15-42

8 years ago

0.0.15-41

8 years ago

0.0.15-40

8 years ago

0.0.15-39

8 years ago

0.0.15-38

8 years ago

0.0.15-37

8 years ago

0.0.15-36

8 years ago

0.0.15-35

8 years ago

0.0.15-34

8 years ago

0.0.15-33

8 years ago

0.0.15-32

8 years ago

0.0.15-31

8 years ago

0.0.15-30

8 years ago

0.0.15-29

8 years ago

0.0.15-28

8 years ago

0.0.15-27

8 years ago

0.0.15-26

8 years ago

0.0.15-25

8 years ago

0.0.15-24

8 years ago

0.0.15-23

8 years ago

0.0.15-22

8 years ago

0.0.15-21

8 years ago

0.0.15-20

8 years ago

0.0.15-19

8 years ago

0.0.15-18

8 years ago

0.0.15-17

8 years ago

0.0.15-16

8 years ago

0.0.15-15

8 years ago

0.0.15-14

8 years ago

0.0.15-13

8 years ago

0.0.16-0

8 years ago

0.0.15-12

8 years ago

0.0.15-10

8 years ago

0.0.15-9

8 years ago

0.0.15-8

8 years ago

0.0.15-7

8 years ago

0.0.15-6

8 years ago

0.0.15-5

8 years ago

0.0.15-4

8 years ago

0.0.15-3

8 years ago

0.0.15-2

8 years ago

0.0.15-1

8 years ago

0.0.15-0

8 years ago

0.0.14-1

8 years ago

0.0.14-0

8 years ago

0.0.13-0

8 years ago

0.0.12

8 years ago

0.0.11

8 years ago

0.0.9

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago