@container-stack/client-react
TypeScript icon, indicating that this package has built-in type declarations

0.0.9-20 • Public • Published

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?

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.9-204latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.9-204
0.0.9-190
0.0.9-180
0.0.9-171
0.0.9-160
0.0.9-141
0.0.9-131
0.0.9-111
0.0.9-100
0.0.9-90
0.0.9-81
0.0.9-60
0.0.9-50
0.0.9-40
0.0.250
0.0.241
0.0.231
0.0.210
0.0.201
0.0.180
0.0.171
0.0.140
0.0.130
0.0.120
0.0.9-11
0.0.80
0.0.70
0.0.61
0.0.5-171
0.0.5-160
0.0.5-151
0.0.5-141
0.0.5-130
0.0.5-121
0.0.5-110
0.0.5-100
0.0.5-51
0.0.5-41
0.0.5-31
0.0.5-20
0.0.5-10
0.0.5-00
0.0.11

Package Sidebar

Install

npm i @container-stack/client-react

Weekly Downloads

23

Version

0.0.9-20

License

MIT

Unpacked Size

11.5 kB

Total Files

5

Last publish

Collaborators

  • container-stack