0.2.4 • Published 3 years ago

@common-stack/client-react-native v0.2.4

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

React Package

React components and containers

What does it include:

1. exported react pure components
2. exported react containers
3. Typescript 2.0.0 => ES6
4. unit testing with jest

Purpose:

This package can be installable in front-end webserver

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 components and containers
    index.spec.ts            - Tests file for main
    components               - All pure components which don't depend on backend data or external state such as redux
        index.ts             - References all the exported components
    containers               - Components with data to render. Tightly coupled with redux. 
        index.ts             - References all the exported containers
 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

Tutorials:

react-jest-enzymes test

testing react with enzyme tutorial

react-redux-typescript-guide

Performance:

Redux FAQ: Connecting multiple components

React/Redux Links: Performance articles

React/Redux: Component re-rendering too often?

0.2.4

3 years ago

0.2.3

3 years ago

0.1.21

3 years ago

0.1.23

3 years ago

0.2.1

3 years ago

0.2.2

3 years ago

0.1.12

4 years ago

0.1.14

3 years ago

0.1.15

3 years ago

0.1.16

3 years ago

0.1.17

3 years ago

0.1.18

3 years ago

0.1.19

3 years ago

0.1.11

4 years ago

0.1.10

4 years ago

0.1.9

4 years ago

0.1.7

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.0.263

4 years ago

0.0.264

4 years ago

0.0.262

4 years ago

0.0.259

4 years ago

0.0.261

4 years ago

0.0.260

4 years ago

0.0.258

4 years ago

0.0.257

4 years ago

0.0.256

4 years ago

0.0.255

4 years ago

0.0.254

4 years ago

0.0.253

4 years ago