3.0.3-alpha.4 • Published 4 days ago

drip-table v3.0.3-alpha.4

Weekly downloads
-
License
MIT
Repository
-
Last release
4 days ago

DripTable Development Guide

DripTable is the core library of the solution for building dynamic tables. It's main ability is to render a dynamic table automatically when received data which conforms to the JSON Schema standard.

Directory

  • update continually
├── src                            // source code
  ├── components                   // common components that drip-table depends on
  │ ├── ErrorBoundary              // error notification component
  │ ├── Highlight                  // highlight component
  │ └── RichText                   // HTML character rendering component
  ├── drip-table                   // drip-table main component
  │ ├─ components                  // built-in common components
  │ | ├── image                    // picture display component
  │ | ├── link                     // link operation component
  │ | ├── render-html              // custom HTML render component
  │ | ├── text                     // text display component
  │ | ├── components.ts            // common type definition
  │ | └── index.ts                 // export
  | ├── header                     // header of table
  | ├── utils                      // util functions
  | └── virtual-table              // virtual scrollable table
  ├── drip-table-provider          // drip-table entry
  ├── context.ts                   // export global context
  ├── hooks.ts                     // global states
  ├── index.ts                     // export
  ├── shims-styles.d.ts            // style type definition
  └── types.ts                     // export type definition

Development

Steps

  1. Fork.
  2. Create a new branch that names to express the features simply.
  3. add documents of new features in docs/drip-table directory.
  4. add features in docs/drip-table/changelog file.
  5. Commit.
  6. Create pull request.

Cautions

  • Use React.memo to wrap a functional component, and compare props to update the wrapped component.
  • Merge related states instead of using too many useStates.
  • Do not use arrow functions to assign to event functions as values directly. (Reference: How to read an often-changing value from useCallback?)
  • Either class component or functional component while defining a component as much as possible.

Release

add owner in npm depository for the first time.

npm owner add [username] drip-table

Version number modification rules

  • Major version number(1): Required. Modify when there are major changes in the functional modules, such as adding multiple modules or changing the architecture. Whether to modify this version number is determined by the project manager.

  • Sub version number(2): Required. Modify when the function has a certain increase or change, such as adding authority management, adding custom views, etc. Whether to modify this version number is determined by the project manager.

  • Phase version number(3): Required. Generally, a revised version is released when a bug is fixed or a small change is made. The time interval is not limited. When a serious bug is fixed, a revised version can be released. Whether to modify this version number is determined by the project manager.

  • Date version number(051021): Optional. The date version number is used to record the date of the modification of the project, and the modification needs to be recorded every day. Whether to modify this version number is determined by developers.

  • Greek letter version number(beta): Optional. This version number is used to mark which phrase of development the current software is in, and it needs to be modified when the software enters to another phrase. Whether to modify this version number is determined by the project manager.

git commit -m 'release: drip-table 1.2.3'
lerna run build --stream --scope=drip-table
cd packages/drip-table
npm publish --access=public
3.0.3-alpha.4

4 days ago

3.0.3-alpha.3

7 days ago

3.0.3-alpha.2

17 days ago

3.0.3-alpha.0

1 month ago

3.0.3-alpha.1

1 month ago

3.0.2

1 month ago

3.0.1

1 month ago

3.0.1-alpha.0

2 months ago

3.0.0-alpha.10

3 months ago

3.0.0

3 months ago

3.0.0-alpha.9

3 months ago

3.0.0-alpha.8

8 months ago

3.0.0-alpha.7

11 months ago

3.0.0-alpha.6

11 months ago

3.0.0-alpha.5

12 months ago

3.0.0-alpha.3

1 year ago

3.0.0-alpha.4

12 months ago

3.0.0-alpha.1

1 year ago

3.0.0-alpha.0

1 year ago

3.0.0-alpha.2

1 year ago

2.0.6-alpha.0

2 years ago

2.2.0

1 year ago

2.0.5

2 years ago

2.6.1

1 year ago

2.0.7

2 years ago

2.6.0

1 year ago

2.0.6

2 years ago

2.6.3

1 year ago

2.0.9

1 year ago

2.6.2

1 year ago

2.0.8

1 year ago

2.6.2-alpha.0

1 year ago

2.3.0

1 year ago

2.5.0

1 year ago

2.3.2

1 year ago

2.3.1

1 year ago

2.7.0

1 year ago

2.7.2

1 year ago

2.7.1

1 year ago

2.0.10

1 year ago

2.1.0

1 year ago

2.8.0-alpha.2

1 year ago

2.8.0-alpha.1

1 year ago

2.8.0-alpha.0

1 year ago

2.6.5

1 year ago

2.6.4

1 year ago

2.6.7

1 year ago

2.6.9

1 year ago

2.6.8

1 year ago

2.0.3

2 years ago

2.0.2

2 years ago

2.0.0-alpha.5

2 years ago

2.0.4

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.5.2

2 years ago

1.5.1

2 years ago

1.5.0

2 years ago

1.4.0

2 years ago

2.0.0-alpha.3

2 years ago

2.0.0-alpha.4

2 years ago

2.0.0-alpha.0

2 years ago

2.0.0-alpha.1

2 years ago

2.0.0-alpha.2

2 years ago

1.3.13

2 years ago

1.3.14

2 years ago

1.3.12

2 years ago

1.5.1-alpha.0

2 years ago

1.3.10

2 years ago

1.3.11

2 years ago

1.3.7

2 years ago

1.3.6

2 years ago

1.3.5

2 years ago

1.3.4

2 years ago

1.3.3

2 years ago

1.3.1

2 years ago

1.3.8-alpha.0

2 years ago

1.3.1-alpha.0

2 years ago

1.3.2-alpha.0

2 years ago

1.3.2-alpha.1

2 years ago

1.3.2-alpha.2

2 years ago

1.3.9

2 years ago

1.3.8

2 years ago

1.3.2-alpha.3

2 years ago

1.3.0

2 years ago

1.3.0-alpha.0

2 years ago

1.3.0-alpha.2

2 years ago

1.3.0-alpha.1

2 years ago

1.3.0-alpha.4

2 years ago

1.3.0-alpha.3

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.0

2 years ago

1.0.1

2 years ago